/dflybsd-src/contrib/wpa_supplicant/src/eap_common/ |
H A D | eap_pwd_common.c | 151 if (crypto_bignum_to_bin(prime, prime_bin, sizeof(prime_bin), in compute_password_element() 168 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), in compute_password_element() 170 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), in compute_password_element() 333 crypto_bignum_to_bin(peer_scalar, cruft, order_len, order_len); in compute_keys() 335 crypto_bignum_to_bin(server_scalar, cruft, order_len, order_len); in compute_keys() 345 crypto_bignum_to_bin(k, cruft, prime_len, prime_len); in compute_keys()
|
/dflybsd-src/contrib/wpa_supplicant/src/common/ |
H A D | sae.c | 307 if (crypto_bignum_to_bin(sae->tmp->prime, prime, sizeof(prime), in sae_derive_pwe_ecc() 316 crypto_bignum_to_bin(qr, qr_bin, sizeof(qr_bin), prime_len) < 0 || in sae_derive_pwe_ecc() 317 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0) in sae_derive_pwe_ecc() 506 if (crypto_bignum_to_bin(pwe, pwe_buf + prime_len, prime_len, in sae_derive_pwe_ffc() 673 crypto_bignum_to_bin(K, k, SAE_MAX_PRIME_LEN, sae->tmp->prime_len) < in sae_derive_k_ffc() 720 crypto_bignum_to_bin(tmp, val, sizeof(val), sae->tmp->order_len); in sae_derive_keys() 767 crypto_bignum_to_bin(sae->tmp->own_commit_scalar, pos, in sae_write_commit() 782 crypto_bignum_to_bin(sae->tmp->own_commit_element_ffc, pos, in sae_write_commit() 968 if (crypto_bignum_to_bin(sae->tmp->prime, prime, sizeof(prime), in sae_parse_commit_element_ecc() 1181 crypto_bignum_to_bin(scalar1, scalar_b1, sizeof(scalar_b1), in sae_cn_confirm() [all …]
|
/dflybsd-src/contrib/wpa_supplicant/src/eap_server/ |
H A 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()
|
/dflybsd-src/contrib/wpa_supplicant/src/eap_peer/ |
H A 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()
|
/dflybsd-src/contrib/wpa_supplicant/src/crypto/ |
H A D | crypto_wolfssl.c | 1057 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1426 if (crypto_bignum_to_bin((struct crypto_bignum *)p->x, x, in crypto_ec_point_to_bin() 1433 if (crypto_bignum_to_bin((struct crypto_bignum *) p->y, y, in crypto_ec_point_to_bin() 1582 ret = crypto_bignum_to_bin(x, buf + 1, prime_len, prime_len); in crypto_ec_point_solve_y_coord() 1712 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey() 1718 ret = crypto_bignum_to_bin((struct crypto_bignum *) in crypto_ecdh_get_pubkey()
|
H A D | crypto_openssl.c | 1295 int crypto_bignum_to_bin(const struct crypto_bignum *a, in crypto_bignum_to_bin() function 1721 crypto_bignum_to_bin((struct crypto_bignum *) x_bn, in crypto_ec_point_to_bin() 1725 crypto_bignum_to_bin((struct crypto_bignum *) y_bn, in crypto_ec_point_to_bin() 1969 res = crypto_bignum_to_bin((struct crypto_bignum *) x, in crypto_ecdh_get_pubkey() 1975 res = crypto_bignum_to_bin((struct crypto_bignum *) y, in crypto_ecdh_get_pubkey()
|
H A D | crypto.h | 536 int crypto_bignum_to_bin(const struct crypto_bignum *a,
|