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/
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,
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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
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()
Dcrypto.h992 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y);
1003 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
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/
Dpasn_supplicant.c1342 int ret, inc_y; in wpas_pasn_auth_rx() local
1477 inc_y = 1; in wpas_pasn_auth_rx()
1480 inc_y = 0; in wpas_pasn_auth_rx()
1488 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/
Dieee802_11.c3112 int ret, inc_y; in handle_auth_pasn_1() local
3225 inc_y = 1; in handle_auth_pasn_1()
3228 inc_y = 0; in handle_auth_pasn_1()
3237 secret = crypto_ecdh_set_peerkey(sta->pasn->ecdh, inc_y, in handle_auth_pasn_1()