Searched refs:peer_key (Results 1 – 6 of 6) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_key_share.cc | 77 Span<const uint8_t> peer_key) override { in Finish() argument 100 if (!EC_POINT_oct2point(group.get(), peer_point.get(), peer_key.data(), in Finish() 101 peer_key.size(), bn_ctx.get())) { in Finish() 147 Span<const uint8_t> peer_key) override { in Finish() argument 156 if (peer_key.size() != 32 || in Finish() 157 !X25519(secret.data(), private_key_, peer_key.data())) { in Finish() 207 uint8_t *out_alert, Span<const uint8_t> peer_key) { in Accept() argument 210 Finish(out_secret, out_alert, peer_key); in Accept()
|
D | t1_lib.cc | 2151 CBS peer_key; in ssl_ext_key_share_parse_serverhello() local 2154 !CBS_get_u16_length_prefixed(contents, &peer_key) || in ssl_ext_key_share_parse_serverhello() 2167 if (!hs->key_share->Finish(out_secret, out_alert, peer_key)) { in ssl_ext_key_share_parse_serverhello() 2195 CBS peer_key; in ssl_ext_key_share_parse_clienthello() local 2196 CBS_init(&peer_key, NULL, 0); in ssl_ext_key_share_parse_clienthello() 2208 if (CBS_len(&peer_key) != 0) { in ssl_ext_key_share_parse_clienthello() 2214 peer_key = peer_key_tmp; in ssl_ext_key_share_parse_clienthello() 2219 if (CBS_len(&peer_key) == 0) { in ssl_ext_key_share_parse_clienthello() 2231 !key_share->Accept(public_key.get(), &secret, out_alert, peer_key) || in ssl_ext_key_share_parse_clienthello()
|
D | handshake_server.cc | 1181 CBS peer_key; in do_read_client_key_exchange() local 1182 if (!CBS_get_u8_length_prefixed(&client_key_exchange, &peer_key) || in do_read_client_key_exchange() 1191 if (!hs->key_share->Finish(&premaster_secret, &alert, peer_key)) { in do_read_client_key_exchange()
|
D | handshake_client.cc | 1010 !hs->peer_key.CopyFrom(point)) { in do_read_server_key_exchange() 1344 if (!hs->key_share->Accept(&child, &pms, &alert, hs->peer_key)) { in do_send_client_key_exchange() 1354 hs->peer_key.Reset(); in do_send_client_key_exchange()
|
D | internal.h | 947 uint8_t *out_alert, Span<const uint8_t> peer_key); 954 Span<const uint8_t> peer_key) PURE_VIRTUAL; 1376 Array<uint8_t> peer_key;
|
/external/wpa_supplicant_8/src/common/ |
D | dpp.c | 4579 EVP_PKEY *own_key, EVP_PKEY *peer_key, u8 *pmkid) in dpp_derive_pmkid() argument 4589 pkx = dpp_get_pubkey_point(peer_key, 0); in dpp_derive_pmkid() 4627 EVP_PKEY *own_key = NULL, *peer_key = NULL; in dpp_peer_intro() local 4728 peer_key = dpp_parse_jwk(netkey, &curve); in dpp_peer_intro() 4729 if (!peer_key) in dpp_peer_intro() 4731 dpp_debug_print_key("DPP: Received netAccessKey", peer_key); in dpp_peer_intro() 4744 EVP_PKEY_derive_set_peer(ctx, peer_key) != 1 || in dpp_peer_intro() 4765 if (dpp_derive_pmkid(curve, own_key, peer_key, intro->pmkid) < 0) { in dpp_peer_intro() 4781 EVP_PKEY_free(peer_key); in dpp_peer_intro()
|