Searched refs:peer_key (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_key_share.cc | 78 Span<const uint8_t> peer_key) override { in Finish() argument 101 if (peer_key.empty() || peer_key[0] != POINT_CONVERSION_UNCOMPRESSED || in Finish() 102 !EC_POINT_oct2point(group.get(), peer_point.get(), peer_key.data(), in Finish() 103 peer_key.size(), bn_ctx.get())) { in Finish() 173 Span<const uint8_t> peer_key) override { in Finish() argument 182 if (peer_key.size() != 32 || in Finish() 183 !X25519(secret.data(), private_key_, peer_key.data())) { in Finish() 240 uint8_t *out_alert, Span<const uint8_t> peer_key) override { in Accept() argument 251 if (peer_key.size() != 32 + HRSS_PUBLIC_KEY_BYTES || in Accept() 252 !HRSS_parse_public_key(&peer_public_key, peer_key.data() + 32) || in Accept() [all …]
|
D | t1_lib.cc | 2232 CBS peer_key; in ssl_ext_key_share_parse_serverhello() local 2235 !CBS_get_u16_length_prefixed(contents, &peer_key) || in ssl_ext_key_share_parse_serverhello() 2252 if (!key_share->Finish(out_secret, out_alert, peer_key)) { in ssl_ext_key_share_parse_serverhello() 2281 CBS peer_key; in ssl_ext_key_share_parse_clienthello() local 2282 CBS_init(&peer_key, NULL, 0); in ssl_ext_key_share_parse_clienthello() 2294 if (CBS_len(&peer_key) != 0) { in ssl_ext_key_share_parse_clienthello() 2300 peer_key = peer_key_tmp; in ssl_ext_key_share_parse_clienthello() 2305 if (CBS_len(&peer_key) == 0) { in ssl_ext_key_share_parse_clienthello() 2317 !key_share->Accept(public_key.get(), &secret, out_alert, peer_key) || in ssl_ext_key_share_parse_clienthello()
|
D | handshake_server.cc | 1269 CBS peer_key; in do_read_client_key_exchange() local 1270 if (!CBS_get_u8_length_prefixed(&client_key_exchange, &peer_key) || in do_read_client_key_exchange() 1279 if (!hs->key_shares[0]->Finish(&premaster_secret, &alert, peer_key)) { in do_read_client_key_exchange()
|
D | handshake_client.cc | 1011 !hs->peer_key.CopyFrom(point)) { in do_read_server_key_exchange() 1348 if (!hs->key_shares[0]->Accept(&child, &pms, &alert, hs->peer_key)) { in do_send_client_key_exchange() 1359 hs->peer_key.Reset(); in do_send_client_key_exchange()
|
D | internal.h | 977 uint8_t *out_alert, Span<const uint8_t> peer_key); 984 Span<const uint8_t> peer_key) PURE_VIRTUAL; 1504 Array<uint8_t> peer_key;
|
/external/boringssl/src/tool/ |
D | speed.cc | 518 bssl::UniquePtr<EC_KEY> peer_key(EC_KEY_new_by_curve_name(nid)); in SpeedECDHCurve() local 519 if (!peer_key || in SpeedECDHCurve() 520 !EC_KEY_generate_key(peer_key.get())) { in SpeedECDHCurve() 525 EC_KEY_get0_group(peer_key.get()), EC_KEY_get0_public_key(peer_key.get()), in SpeedECDHCurve() 532 EC_KEY_get0_group(peer_key.get()), EC_KEY_get0_public_key(peer_key.get()), in SpeedECDHCurve()
|
/external/wpa_supplicant_8/src/common/ |
D | dpp.c | 6311 EVP_PKEY *own_key, EVP_PKEY *peer_key, u8 *pmkid) in dpp_derive_pmkid() argument 6321 pkx = dpp_get_pubkey_point(peer_key, 0); in dpp_derive_pmkid() 6360 EVP_PKEY *own_key = NULL, *peer_key = NULL; in dpp_peer_intro() local 6468 peer_key = dpp_parse_jwk(netkey, &curve); in dpp_peer_intro() 6469 if (!peer_key) { in dpp_peer_intro() 6473 dpp_debug_print_key("DPP: Received netAccessKey", peer_key); in dpp_peer_intro() 6487 EVP_PKEY_derive_set_peer(ctx, peer_key) != 1 || in dpp_peer_intro() 6508 if (dpp_derive_pmkid(curve, own_key, peer_key, intro->pmkid) < 0) { in dpp_peer_intro() 6524 EVP_PKEY_free(peer_key); in dpp_peer_intro()
|