Home
last modified time | relevance | path

Searched refs:inc_y (Results 1 - 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto.h926 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y);
927 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
H A Dcrypto_openssl.c2028 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y) in crypto_ecdh_get_pubkey() argument
2046 if (inc_y) { in crypto_ecdh_get_pubkey()
2051 buf = wpabuf_alloc(inc_y ? 2 * len : len); in crypto_ecdh_get_pubkey()
2068 if (inc_y) { in crypto_ecdh_get_pubkey()
2088 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, in crypto_ecdh_set_peerkey() argument
2099 x = BN_bin2bn(key, inc_y ? len / 2 : len, NULL); in crypto_ecdh_set_peerkey()
2104 if (inc_y) { in crypto_ecdh_set_peerkey()
H A Dcrypto_wolfssl.c1768 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y) in crypto_ecdh_get_pubkey() argument
1774 buf = wpabuf_alloc(inc_y ? 2 * len : len); in crypto_ecdh_get_pubkey()
1783 if (inc_y) { in crypto_ecdh_get_pubkey()
1800 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, in crypto_ecdh_set_peerkey() argument
1808 size_t need_key_len = inc_y ? 2 * key_len : key_len; in crypto_ecdh_set_peerkey()
1815 wpabuf_put_u8(pubkey, inc_y ? ECC_POINT_UNCOMP : ECC_POINT_COMP_EVEN); in crypto_ecdh_set_peerkey()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto.h988 * @inc_y: Whether public key should include y coordinate (explicit form)
992 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y);
997 * @inc_y: Whether peer's public key includes y coordinate (explicit form)
1003 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
H A Dcrypto_wolfssl.c1750 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y) in crypto_ecdh_get_pubkey() argument
1756 buf = wpabuf_alloc(inc_y ? 2 * len : len); in crypto_ecdh_get_pubkey()
1765 if (inc_y) { in crypto_ecdh_get_pubkey()
1782 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, in crypto_ecdh_set_peerkey() argument
1790 size_t need_key_len = inc_y ? 2 * key_len : key_len; in crypto_ecdh_set_peerkey()
1797 wpabuf_put_u8(pubkey, inc_y ? ECC_POINT_UNCOMP : ECC_POINT_COMP_EVEN); in crypto_ecdh_set_peerkey()
H A Dcrypto_openssl.c2142 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y) in crypto_ecdh_get_pubkey() argument
2160 if (inc_y) { in crypto_ecdh_get_pubkey()
2165 buf = wpabuf_alloc(inc_y ? 2 * len : len); in crypto_ecdh_get_pubkey()
2182 if (inc_y) { in crypto_ecdh_get_pubkey()
2202 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y, in crypto_ecdh_set_peerkey() argument
2213 x = BN_bin2bn(key, inc_y ? len / 2 : len, NULL); in crypto_ecdh_set_peerkey()
2218 if (inc_y) { in crypto_ecdh_set_peerkey()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dpasn_supplicant.c1354 int ret, inc_y; in wpas_pasn_auth_rx() local
1489 inc_y = 1; in wpas_pasn_auth_rx()
1492 inc_y = 0; in wpas_pasn_auth_rx()
1500 secret = crypto_ecdh_set_peerkey(pasn->ecdh, inc_y, in wpas_pasn_auth_rx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dieee802_11.c3134 int ret, inc_y; in handle_auth_pasn_1() local
3247 inc_y = 1; in handle_auth_pasn_1()
3250 inc_y = 0; in handle_auth_pasn_1()
3259 secret = crypto_ecdh_set_peerkey(sta->pasn->ecdh, inc_y, in handle_auth_pasn_1()

Completed in 35 milliseconds