Home
last modified time | relevance | path

Searched refs:OPENSSL_ARRAY_SIZE (Results 1 – 25 of 26) sorted by relevance

12

/external/boringssl/src/crypto/x509v3/
Dtab_test.cc71 EXPECT_EQ(OPENSSL_ARRAY_SIZE(standard_exts), STANDARD_EXTENSION_COUNT); in TEST()
72 for (size_t i = 1; i < OPENSSL_ARRAY_SIZE(standard_exts); i++) { in TEST()
/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c111 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(nid_to_digest_mapping); i++) { in EVP_get_digestbynid()
142 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kMDOIDs); i++) { in cbs_to_md()
196 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(nid_to_digest_mapping); i++) { in EVP_get_digestbyname()
Ddigest_test.cc195 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kTestVectors); i++) { in TEST()
/external/boringssl/src/crypto/obj/
Dobj_xref.c95 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kTriples); i++) { in OBJ_find_sigid_algs()
111 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kTriples); i++) { in OBJ_find_sigid_by_algs()
Dobj.c214 nid_ptr = bsearch(obj, kNIDsInOIDOrder, OPENSSL_ARRAY_SIZE(kNIDsInOIDOrder), in OBJ_obj2nid()
263 OPENSSL_ARRAY_SIZE(kNIDsInShortNameOrder), in OBJ_sn2nid()
299 OPENSSL_ARRAY_SIZE(kNIDsInLongNameOrder), in OBJ_ln2nid()
/external/boringssl/src/ssl/
Dssl_versions.cc77 *out_num = OPENSSL_ARRAY_SIZE(kDTLSVersions); in get_method_versions()
80 *out_num = OPENSSL_ARRAY_SIZE(kTLSVersions); in get_method_versions()
197 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kProtocolVersions); i++) { in ssl_get_version_range()
Dssl_ecdh.cc247 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kMethods); i++) { in method_from_group_id()
256 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kMethods); i++) { in method_from_nid()
265 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kMethods); i++) { in method_from_name()
Dtls13_client.cc80 OPENSSL_ARRAY_SIZE(ext_types), in do_process_hello_retry_request()
227 OPENSSL_ARRAY_SIZE(ext_types), in do_process_server_hello()
745 OPENSSL_ARRAY_SIZE(ext_types), in tls13_process_new_session_ticket()
Dssl_cipher.cc544 static const size_t kCiphersLen = OPENSSL_ARRAY_SIZE(kCiphers);
631 static const size_t kCipherAliasesLen = OPENSSL_ARRAY_SIZE(kCipherAliases);
Dt1_lib.cc318 *out_group_ids_len = OPENSSL_ARRAY_SIZE(kDefaultGroups); in tls1_get_grouplist()
517 size_t num_sigalgs = OPENSSL_ARRAY_SIZE(kVerifySignatureAlgorithms); in tls12_add_verify_sigalgs()
539 size_t num_sigalgs = OPENSSL_ARRAY_SIZE(kVerifySignatureAlgorithms); in tls12_check_peer_sigalg()
3277 num_sigalgs = OPENSSL_ARRAY_SIZE(kSignSignatureAlgorithms); in tls1_choose_signature_algorithm()
3289 num_peer_sigalgs = OPENSSL_ARRAY_SIZE(kDefaultPeerAlgorithms); in tls1_choose_signature_algorithm()
Dssl_privkey.cc349 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kSignatureAlgorithms); i++) { in get_signature_algorithm()
Dtls13_both.cc266 OPENSSL_ARRAY_SIZE(ext_types), in tls13_process_certificate()
Dhandshake_client.cc864 OPENSSL_ARRAY_SIZE(ext_types), in parse_server_version()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c118 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kCipherOIDs); i++) { in cbs_to_cipher()
128 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kCipherOIDs); i++) { in add_cipher_oid()
Dpkcs8.c317 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(kBuiltinPBE); i++) { in get_pbe_suite()
368 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(kBuiltinPBE); i++) { in pkcs8_pbe_decrypt()
/external/boringssl/src/crypto/hkdf/
Dhkdf_test.cc248 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kTests); i++) { in TEST()
/external/boringssl/src/crypto/
Dcompiler_test.cc164 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(ints); i++) { in TEST()
Dinternal.h158 #define OPENSSL_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) in OPENSSL_MSVC_PRAGMA() macro
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc784 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kTestVectors); i++) { in TEST()
786 for (size_t j = 0; j < OPENSSL_ARRAY_SIZE(kTestVectors); j++) { in TEST()
790 OPENSSL_ARRAY_SIZE(kTestVectors[i]))); in TEST()
/external/boringssl/src/crypto/evp/
Devp_asn1.c84 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(kASN1Methods); i++) { in parse_key_type()
Dprint.c446 static size_t kPrintMethodsLen = OPENSSL_ARRAY_SIZE(kPrintMethods);
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc625 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kASN1Uint64Tests); i++) { in TEST()
646 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kASN1InvalidUint64Tests); i++) { in TEST()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c698 out->top = OPENSSL_ARRAY_SIZE(kSmallFactorsLimbs); in DEFINE_LOCAL_DATA()
Drsa_impl.c784 const size_t kBoringSSLRSASqrtTwoLen = OPENSSL_ARRAY_SIZE(kBoringSSLRSASqrtTwo);
/external/boringssl/src/ssl/test/
Dbssl_shim.cc1910 OPENSSL_ARRAY_SIZE(kAllCurves))) { in DoConnection()
2115 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kRecordSizes); i++) { in DoExchange()

12