/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_pwd_common.c | 153 if (crypto_bignum_to_bin(prime, prime_bin, sizeof(prime_bin), in compute_password_element() 165 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), in compute_password_element() 167 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), in compute_password_element() 274 crypto_bignum_to_bin(y, x_y, MAX_ECC_PRIME_LEN, primebytelen) < 0 || in compute_password_element() 276 crypto_bignum_to_bin(y, x_y + MAX_ECC_PRIME_LEN, in compute_password_element() 359 crypto_bignum_to_bin(peer_scalar, cruft, order_len, order_len); in compute_keys() 361 crypto_bignum_to_bin(server_scalar, cruft, order_len, order_len); in compute_keys() 371 crypto_bignum_to_bin(k, cruft, prime_len, prime_len); in compute_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_pwd_common.c | 153 if (crypto_bignum_to_bin(prime, prime_bin, sizeof(prime_bin), in compute_password_element() 165 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), in compute_password_element() 167 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), in compute_password_element() 274 crypto_bignum_to_bin(y, x_y, MAX_ECC_PRIME_LEN, primebytelen) < 0 || in compute_password_element() 276 crypto_bignum_to_bin(y, x_y + MAX_ECC_PRIME_LEN, in compute_password_element() 359 crypto_bignum_to_bin(peer_scalar, cruft, order_len, order_len); in compute_keys() 361 crypto_bignum_to_bin(server_scalar, cruft, order_len, order_len); in compute_keys() 371 crypto_bignum_to_bin(k, cruft, prime_len, prime_len); in compute_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | sae.c | 313 if (crypto_bignum_to_bin(sae->tmp->prime, prime, sizeof(prime), in sae_derive_pwe_ecc() 322 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), prime_len) < 0 || in sae_derive_pwe_ecc() 323 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0) in sae_derive_pwe_ecc() 411 crypto_bignum_to_bin(y, x_y, SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 414 crypto_bignum_to_bin(y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 511 if (crypto_bignum_to_bin(pwe, pwe_buf + prime_len, prime_len, in sae_derive_pwe_ffc() 616 if (bin && crypto_bignum_to_bin(a, bin, prime_len, prime_len) >= 0) in debug_print_bignum() 711 if (crypto_bignum_to_bin(x1a, bin1, sizeof(bin1), prime_len) < 0 || in sswu() 712 crypto_bignum_to_bin(x1b, bin2, sizeof(bin2), prime_len) < 0) in sswu() 753 if (crypto_bignum_to_bin(gx1, bin1, sizeof(bin1), prime_len) < 0 || in sswu() [all …]
|
D | dragonfly.c | 235 if (crypto_bignum_to_bin(prime, prime_bin, sizeof(prime_bin), in dragonfly_sqrt()
|
D | sae_pk.c | 570 if (crypto_bignum_to_bin(ap ? tmp->own_commit_scalar : in sae_pk_hash_sig_data() 574 crypto_bignum_to_bin(ap ? sae->peer_commit_scalar : in sae_pk_hash_sig_data()
|
D | common_module_tests.c | 491 if (crypto_bignum_to_bin(pwe, bin, sizeof(bin), in sae_tests()
|
D | dpp_crypto.c | 1061 crypto_bignum_to_bin(lx, auth->Lx, sizeof(auth->Lx), in dpp_auth_derive_l_responder() 1102 crypto_bignum_to_bin(lx, auth->Lx, sizeof(auth->Lx), in dpp_auth_derive_l_initiator()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | sae.c | 309 if (crypto_bignum_to_bin(sae->tmp->prime, prime, sizeof(prime), in sae_derive_pwe_ecc() 318 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), prime_len) < 0 || in sae_derive_pwe_ecc() 319 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0) in sae_derive_pwe_ecc() 417 crypto_bignum_to_bin(y, x_y, SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 420 crypto_bignum_to_bin(y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 525 if (crypto_bignum_to_bin(pwe, pwe_buf + prime_len, prime_len, in sae_derive_pwe_ffc() 692 crypto_bignum_to_bin(K, k, SAE_MAX_PRIME_LEN, sae->tmp->prime_len) < in sae_derive_k_ffc() 739 crypto_bignum_to_bin(tmp, val, sizeof(val), sae->tmp->order_len); in sae_derive_keys() 786 crypto_bignum_to_bin(sae->tmp->own_commit_scalar, pos, in sae_write_commit() 801 crypto_bignum_to_bin(sae->tmp->own_commit_element_ffc, pos, in sae_write_commit() [all …]
|
D | dragonfly.c | 235 if (crypto_bignum_to_bin(prime, prime_bin, sizeof(prime_bin), in dragonfly_sqrt()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_pwd.c | 296 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_build_commit_req() 352 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_build_confirm_req() 365 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_build_confirm_req() 378 crypto_bignum_to_bin(data->peer_scalar, cruft, order_len, order_len); in eap_pwd_build_confirm_req() 788 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_process_confirm_resp() 801 crypto_bignum_to_bin(data->peer_scalar, cruft, order_len, order_len); in eap_pwd_process_confirm_resp() 814 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_process_confirm_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_pwd.c | 296 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_build_commit_req() 352 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_build_confirm_req() 365 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_build_confirm_req() 378 crypto_bignum_to_bin(data->peer_scalar, cruft, order_len, order_len); in eap_pwd_build_confirm_req() 788 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_process_confirm_resp() 801 crypto_bignum_to_bin(data->peer_scalar, cruft, order_len, order_len); in eap_pwd_process_confirm_resp() 814 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_process_confirm_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_pwd.c | 669 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_perform_commit_exchange() 745 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_perform_confirm_exchange() 758 crypto_bignum_to_bin(data->server_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 771 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 799 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_perform_confirm_exchange() 812 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 825 crypto_bignum_to_bin(data->server_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_pwd.c | 669 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_perform_commit_exchange() 745 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_perform_confirm_exchange() 758 crypto_bignum_to_bin(data->server_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 771 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 799 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_perform_confirm_exchange() 812 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 825 crypto_bignum_to_bin(data->server_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_wolfssl.c | 1077 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1492 if (crypto_bignum_to_bin((struct crypto_bignum *)p->x, x, in crypto_ec_point_to_bin() 1499 if (crypto_bignum_to_bin((struct crypto_bignum *) p->y, y, in crypto_ec_point_to_bin() 1648 ret = crypto_bignum_to_bin(x, buf + 1, prime_len, prime_len); in crypto_ec_point_solve_y_coord() 1778 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey() 1784 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey()
|
D | crypto_openssl.c | 1313 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1815 crypto_bignum_to_bin((struct crypto_bignum *) x_bn, in crypto_ec_point_to_bin() 1819 crypto_bignum_to_bin((struct crypto_bignum *) y_bn, in crypto_ec_point_to_bin() 2063 res = crypto_bignum_to_bin((struct crypto_bignum *) x, in crypto_ecdh_get_pubkey() 2069 res = crypto_bignum_to_bin((struct crypto_bignum *) y, in crypto_ecdh_get_pubkey()
|
D | crypto.h | 543 int crypto_bignum_to_bin(const struct crypto_bignum *a,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_wolfssl.c | 1081 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1498 if (crypto_bignum_to_bin((struct crypto_bignum *)p->x, x, in crypto_ec_point_to_bin() 1505 if (crypto_bignum_to_bin((struct crypto_bignum *) p->y, y, in crypto_ec_point_to_bin() 1760 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey() 1766 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey()
|
D | crypto_openssl.c | 1386 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1895 crypto_bignum_to_bin((struct crypto_bignum *) x_bn, in crypto_ec_point_to_bin() 1899 crypto_bignum_to_bin((struct crypto_bignum *) y_bn, in crypto_ec_point_to_bin() 2177 res = crypto_bignum_to_bin((struct crypto_bignum *) x, in crypto_ecdh_get_pubkey() 2183 res = crypto_bignum_to_bin((struct crypto_bignum *) y, in crypto_ecdh_get_pubkey() 2839 if (crypto_bignum_to_bin((const struct crypto_bignum *) r, r_buf, in crypto_ec_key_sign_r_s() 2841 crypto_bignum_to_bin((const struct crypto_bignum *) s, s_buf, in crypto_ec_key_sign_r_s()
|
D | crypto.h | 550 int crypto_bignum_to_bin(const struct crypto_bignum *a,
|