Home
last modified time | relevance | path

Searched refs:peer_public (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1237 struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public, in dh_derive_shared() argument
1244 if (dh == NULL || peer_public == NULL || own_private == NULL) in dh_derive_shared()
1255 wpabuf_head(peer_public), in dh_derive_shared()
1256 wpabuf_len(peer_public), in dh_derive_shared()
Ddh_group5.c32 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, in dh5_derive_shared() argument
35 return dh_derive_shared(peer_public, own_private, dh_groups_get(5)); in dh5_derive_shared()
Ddh_group5.h14 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
Ddh_groups.h25 struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public,
Dcrypto_wolfssl.c775 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, in dh5_derive_shared() argument
788 wpabuf_head(peer_public), wpabuf_len(peer_public)) != 0) in dh5_derive_shared()
Dcrypto_openssl.c1226 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, in dh5_derive_shared() argument
1239 EVP_PKEY_set1_encoded_public_key(peer_pub, wpabuf_head(peer_public), in dh5_derive_shared()
1240 wpabuf_len(peer_public)) != 1 || in dh5_derive_shared()
1268 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public), in dh5_derive_shared()
/external/rust/crates/ring/tests/
Dagreement_tests.rs73 let peer_public = agreement::UnparsedPublicKey::new(alg, test_case.consume_bytes("PeerQ")); in agreement_agree_ephemeral() localVariable
92 let result = agreement::agree_ephemeral(my_private, &peer_public, |key_material| { in agreement_agree_ephemeral()
110 &peer_public, in agreement_agree_ephemeral()