Searched refs:order_len (Results 1 – 10 of 10) sorted by relevance
/external/boringssl/src/fipstools/ |
D | cavp_ecdsa2_siggen_test.cc | 73 size_t order_len = in TestECDSA2SigGenImpl() local 76 std::vector<uint8_t> r_bytes(order_len), s_bytes(order_len); in TestECDSA2SigGenImpl()
|
D | cavp_ecdsa2_keypair_test.cc | 60 size_t order_len = in TestECDSA2KeyPair() local 63 std::vector<uint8_t> d_bytes(order_len); in TestECDSA2KeyPair()
|
/external/boringssl/src/crypto/ecdsa_extra/ |
D | ecdsa_asn1.c | 236 size_t ECDSA_SIG_max_len(size_t order_len) { in ECDSA_SIG_max_len() argument 239 size_t integer_len = 1 /* tag */ + der_len_len(order_len + 1) + 1 + order_len; in ECDSA_SIG_max_len() 240 if (integer_len < order_len) { in ECDSA_SIG_max_len()
|
/external/wpa_supplicant_8/src/crypto/ |
D | dh_groups.h | 19 size_t order_len; member
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 243 size_t order_len = BitsToBytes(bits); in TEST() local 248 std::vector<uint8_t> bytes(order_len, 0xff); in TEST() 257 EXPECT_EQ(der_len, ECDSA_SIG_max_len(order_len)); in TEST()
|
/external/wpa_supplicant_8/src/common/ |
D | sae.c | 58 tmp->dh->order_len); in sae_set_group() 121 size_t order_len = (order_len_bits + 7) / 8; in sae_get_rand() local 123 if (order_len > sizeof(val)) in sae_get_rand() 127 if (iter++ > 100 || random_get_bytes(val, order_len) < 0) in sae_get_rand() 130 buf_shift_right(val, order_len, 8 - order_len_bits % 8); in sae_get_rand() 131 bn = crypto_bignum_init_set(val, order_len); in sae_get_rand() 143 os_memset(val, 0, order_len); in sae_get_rand()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 791 size_t order_len = BN_num_bytes(dsa->q); in DSA_size() local 794 size_t integer_len = 1 /* tag */ + der_len_len(order_len + 1) + 1 + order_len; in DSA_size() 795 if (integer_len < order_len) { in DSA_size()
|
/external/boringssl/src/include/openssl/ |
D | ecdsa.h | 174 OPENSSL_EXPORT size_t ECDSA_SIG_max_len(size_t order_len);
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 666 size_t prime_len, order_len; in eap_pwd_process_commit_resp() local 671 order_len = BN_num_bytes(data->grp->order); in eap_pwd_process_commit_resp() 673 if (payload_len != 2 * prime_len + order_len) { in eap_pwd_process_commit_resp() 677 (unsigned int) (2 * prime_len + order_len)); in eap_pwd_process_commit_resp()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 365 size_t prime_len, order_len; in eap_pwd_perform_commit_exchange() local 373 order_len = BN_num_bytes(data->grp->order); in eap_pwd_perform_commit_exchange() 375 if (payload_len != 2 * prime_len + order_len) { in eap_pwd_perform_commit_exchange() 379 (unsigned int) (2 * prime_len + order_len)); in eap_pwd_perform_commit_exchange()
|