Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c123 } kMDOIDs[] = { variable
141 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kMDOIDs); i++) { in cbs_to_md()
142 if (CBS_len(cbs) == kMDOIDs[i].oid_len && in cbs_to_md()
143 OPENSSL_memcmp(CBS_data(cbs), kMDOIDs[i].oid, kMDOIDs[i].oid_len) == in cbs_to_md()
145 return EVP_get_digestbynid(kMDOIDs[i].nid); in cbs_to_md()
204 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kMDOIDs); i++) { in EVP_marshal_digest_algorithm()
205 if (nid == kMDOIDs[i].nid) { in EVP_marshal_digest_algorithm()
206 if (!CBB_add_bytes(&oid, kMDOIDs[i].oid, kMDOIDs[i].oid_len)) { in EVP_marshal_digest_algorithm()