/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 240 size_t prime_len, order_len; in eap_pwd_build_commit_req() local 251 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_build_commit_req() 282 data->outbuf = wpabuf_alloc(2 * prime_len + order_len + in eap_pwd_build_commit_req() 295 scalar = wpabuf_put(data->outbuf, order_len); in eap_pwd_build_commit_req() 296 crypto_bignum_to_bin(data->my_scalar, scalar, order_len, order_len); in eap_pwd_build_commit_req() 317 size_t prime_len, order_len; in eap_pwd_build_confirm_req() local 328 order_len = crypto_ec_order_len(data->grp->group); 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() 366 eap_pwd_h_update(hash, cruft, 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() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 362 size_t prime_len, order_len; in eap_pwd_perform_commit_exchange() local 384 order_len = crypto_ec_order_len(data->grp->group); in eap_pwd_perform_commit_exchange() 396 if (payload_len != 2 * prime_len + order_len) { in eap_pwd_perform_commit_exchange() 400 (unsigned int) (2 * prime_len + order_len)); in eap_pwd_perform_commit_exchange() 432 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange() 469 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange() 504 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange() 540 if (payload_len != 2 * prime_len + order_len) { in eap_pwd_perform_commit_exchange() 544 (unsigned int) (2 * prime_len + order_len)); in eap_pwd_perform_commit_exchange() 657 data->outbuf = wpabuf_alloc(2 * prime_len + order_len); in eap_pwd_perform_commit_exchange() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 313 size_t prime_len, order_len; in compute_keys() local 316 order_len = crypto_ec_order_len(grp->group); in compute_keys() 333 crypto_bignum_to_bin(peer_scalar, cruft, order_len, order_len); in compute_keys() 334 eap_pwd_h_update(hash, cruft, order_len); in compute_keys() 335 crypto_bignum_to_bin(server_scalar, cruft, order_len, order_len); in compute_keys() 336 eap_pwd_h_update(hash, cruft, order_len); in compute_keys() 424 size_t order_len; in eap_pwd_get_scalar() local 427 order_len = crypto_ec_order_len(group->group); in eap_pwd_get_scalar() 430 scalar = crypto_bignum_init_set(buf, order_len); in eap_pwd_get_scalar()
|
/external/boringssl/src/util/fipstools/cavp/ |
D | cavp_ecdsa2_siggen_test.cc | 74 size_t order_len = in TestECDSA2SigGenImpl() local 77 std::vector<uint8_t> r_bytes(order_len), s_bytes(order_len); in TestECDSA2SigGenImpl()
|
D | cavp_ecdsa2_keypair_test.cc | 61 size_t order_len = in TestECDSA2KeyPair() local 64 std::vector<uint8_t> d_bytes(order_len); in TestECDSA2KeyPair()
|
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/ |
D | cavp_ecdsa2_siggen_test.cc | 74 size_t order_len = in TestECDSA2SigGenImpl() local 77 std::vector<uint8_t> r_bytes(order_len), s_bytes(order_len); in TestECDSA2SigGenImpl()
|
D | cavp_ecdsa2_keypair_test.cc | 61 size_t order_len = in TestECDSA2KeyPair() local 64 std::vector<uint8_t> d_bytes(order_len); in TestECDSA2KeyPair()
|
/external/boringssl/src/crypto/ecdsa_extra/ |
D | ecdsa_asn1.c | 221 size_t ECDSA_SIG_max_len(size_t order_len) { in ECDSA_SIG_max_len() argument 224 size_t integer_len = 1 /* tag */ + der_len_len(order_len + 1) + 1 + order_len; in ECDSA_SIG_max_len() 225 if (integer_len < order_len) { in ECDSA_SIG_max_len()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ecdsa_extra/ |
D | ecdsa_asn1.c | 221 size_t ECDSA_SIG_max_len(size_t order_len) { in ECDSA_SIG_max_len() argument 224 size_t integer_len = 1 /* tag */ + der_len_len(order_len + 1) + 1 + order_len; in ECDSA_SIG_max_len() 225 if (integer_len < order_len) { in ECDSA_SIG_max_len()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_internal-modexp.c | 43 const u8 *order, size_t order_len, in crypto_dh_derive_secret() argument 71 bignum_set_unsigned_bin(q, order, order_len) < 0 || in crypto_dh_derive_secret()
|
D | dh_groups.h | 19 size_t order_len; member
|
D | dh_groups.c | 1252 dh->order, dh->order_len, in dh_derive_shared()
|
D | crypto_nettle.c | 334 const u8 *order, size_t order_len, in crypto_dh_derive_secret() argument 359 mpz_import(q, order_len, 1, 1, 1, 0, order); in crypto_dh_derive_secret()
|
D | crypto_gnutls.c | 313 const u8 *order, size_t order_len, in crypto_dh_derive_secret() argument 340 gcry_mpi_scan(&q, GCRYMPI_FMT_USG, order, order_len, in crypto_dh_derive_secret()
|
D | crypto.h | 423 const u8 *order, size_t order_len,
|
D | crypto_libtomcrypt.c | 727 const u8 *order, size_t order_len, in crypto_dh_derive_secret() argument
|
D | crypto_openssl.c | 556 const u8 *order, size_t order_len, in crypto_dh_derive_secret() argument 576 q = BN_bin2bn(order, order_len, NULL); in crypto_dh_derive_secret()
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | ecdsa.h | 162 OPENSSL_EXPORT size_t ECDSA_SIG_max_len(size_t order_len);
|
/external/boringssl/src/include/openssl/ |
D | ecdsa.h | 162 OPENSSL_EXPORT size_t ECDSA_SIG_max_len(size_t order_len);
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 288 size_t order_len = BitsToBytes(bits); in TEST() local 293 std::vector<uint8_t> bytes(order_len, 0xff); in TEST() 302 EXPECT_EQ(der_len, ECDSA_SIG_max_len(order_len)); in TEST()
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 288 size_t order_len = BitsToBytes(bits); in TEST() local 293 std::vector<uint8_t> bytes(order_len, 0xff); in TEST() 302 EXPECT_EQ(der_len, ECDSA_SIG_max_len(order_len)); in TEST()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/ |
D | dsa.c | 858 size_t order_len = BN_num_bytes(dsa->q); in DSA_size() local 861 size_t integer_len = 1 /* tag */ + der_len_len(order_len + 1) + 1 + order_len; in DSA_size() 862 if (integer_len < order_len) { in DSA_size()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 824 size_t order_len = BN_num_bytes(dsa->q); in DSA_size() local 827 size_t integer_len = 1 /* tag */ + der_len_len(order_len + 1) + 1 + order_len; in DSA_size() 828 if (integer_len < order_len) { in DSA_size()
|
/external/wpa_supplicant_8/src/common/ |
D | sae.c | 50 tmp->order_len = crypto_ec_order_len(tmp->ec); in sae_set_group() 75 tmp->order_len = tmp->dh->order_len; in sae_set_group() 77 tmp->dh->order_len); in sae_set_group() 986 order = crypto_bignum_init_set(dh->order, dh->order_len); in sae_derive_pt_ffc() 1225 order = crypto_bignum_init_set(pt->dh->order, pt->dh->order_len); in sae_derive_pwe_from_pt_ffc() 1610 crypto_bignum_to_bin(tmp, val, sizeof(val), sae->tmp->order_len); in sae_derive_keys() 1616 val, sae->tmp->order_len, in sae_derive_keys() 1621 val, sae->tmp->order_len, in sae_derive_keys() 1627 val, sae->tmp->order_len, in sae_derive_keys()
|
D | sae.h | 53 int order_len; member
|