Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c76 static const struct nid_to_digest nid_to_digest_mapping[] = { variable
111 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(nid_to_digest_mapping); i++) { in EVP_get_digestbynid()
112 if (nid_to_digest_mapping[i].nid == nid) { in EVP_get_digestbynid()
113 return nid_to_digest_mapping[i].md_func(); in EVP_get_digestbynid()
196 for (unsigned i = 0; i < OPENSSL_ARRAY_SIZE(nid_to_digest_mapping); i++) { in EVP_get_digestbyname()
197 const char *short_name = nid_to_digest_mapping[i].short_name; in EVP_get_digestbyname()
198 const char *long_name = nid_to_digest_mapping[i].long_name; in EVP_get_digestbyname()
201 return nid_to_digest_mapping[i].md_func(); in EVP_get_digestbyname()