Home
last modified time | relevance | path

Searched refs:order_len (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/fipstools/
Dcavp_ecdsa2_siggen_test.cc73 size_t order_len = in TestECDSA2SigGenImpl() local
76 std::vector<uint8_t> r_bytes(order_len), s_bytes(order_len); in TestECDSA2SigGenImpl()
Dcavp_ecdsa2_keypair_test.cc60 size_t order_len = in TestECDSA2KeyPair() local
63 std::vector<uint8_t> d_bytes(order_len); in TestECDSA2KeyPair()
/external/boringssl/src/crypto/ecdsa_extra/
Decdsa_asn1.c236 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/
Ddh_groups.h19 size_t order_len; member
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc243 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/
Dsae.c58 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/
Ddsa.c791 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/
Decdsa.h174 OPENSSL_EXPORT size_t ECDSA_SIG_max_len(size_t order_len);
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c666 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/
Deap_pwd.c365 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()