/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 167 if (crypto_bignum_to_bin(prime, prime_bin, sizeof(prime_bin), in compute_password_element() 202 if (crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), in compute_password_element() 204 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), in compute_password_element() 396 crypto_bignum_to_bin(peer_scalar, cruft, order_len, order_len); in compute_keys() 398 crypto_bignum_to_bin(server_scalar, cruft, order_len, order_len); in compute_keys() 408 crypto_bignum_to_bin(k, cruft, prime_len, prime_len); in compute_keys()
|
/external/wpa_supplicant_8/src/common/ |
D | sae.c | 494 if (crypto_bignum_to_bin(sae->tmp->prime, prime, sizeof(prime), in sae_derive_pwe_ecc() 505 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), prime_len) < 0 || in sae_derive_pwe_ecc() 506 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0) in sae_derive_pwe_ecc() 700 if (crypto_bignum_to_bin(pwe, pwe_buf + prime_len, prime_len, in sae_derive_pwe_ffc() 892 crypto_bignum_to_bin(K, k, SAE_MAX_PRIME_LEN, sae->tmp->prime_len) < in sae_derive_k_ffc() 933 crypto_bignum_to_bin(tmp, val, sizeof(val), sae->tmp->prime_len); in sae_derive_keys() 980 crypto_bignum_to_bin(sae->tmp->own_commit_scalar, pos, in sae_write_commit() 995 crypto_bignum_to_bin(sae->tmp->own_commit_element_ffc, pos, in sae_write_commit() 1181 if (crypto_bignum_to_bin(sae->tmp->prime, prime, sizeof(prime), in sae_parse_commit_element_ecc() 1394 crypto_bignum_to_bin(scalar1, scalar_b1, sizeof(scalar_b1), in sae_cn_confirm() [all …]
|
/external/wpa_supplicant_8/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()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 622 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_perform_commit_exchange() 698 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_perform_confirm_exchange() 711 crypto_bignum_to_bin(data->server_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 724 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 752 crypto_bignum_to_bin(data->k, cruft, prime_len, prime_len); in eap_pwd_perform_confirm_exchange() 765 crypto_bignum_to_bin(data->my_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange() 778 crypto_bignum_to_bin(data->server_scalar, cruft, order_len, order_len); in eap_pwd_perform_confirm_exchange()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_wolfssl.c | 1057 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1432 if (crypto_bignum_to_bin((struct crypto_bignum *)p->x, x, in crypto_ec_point_to_bin() 1439 if (crypto_bignum_to_bin((struct crypto_bignum *) p->y, y, in crypto_ec_point_to_bin() 1588 ret = crypto_bignum_to_bin(x, buf + 1, prime_len, prime_len); in crypto_ec_point_solve_y_coord() 1718 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey() 1724 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey()
|
D | crypto_openssl.c | 1295 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1715 crypto_bignum_to_bin((struct crypto_bignum *) x_bn, in crypto_ec_point_to_bin() 1719 crypto_bignum_to_bin((struct crypto_bignum *) y_bn, in crypto_ec_point_to_bin() 1962 res = crypto_bignum_to_bin((struct crypto_bignum *) x, in crypto_ecdh_get_pubkey() 1968 res = crypto_bignum_to_bin((struct crypto_bignum *) y, in crypto_ecdh_get_pubkey()
|
D | crypto.h | 536 int crypto_bignum_to_bin(const struct crypto_bignum *a,
|