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/
Ddigests.c264 static const struct nid_to_digest nid_to_digest_mapping[] = { variable
292 for (i = 0; i < sizeof(nid_to_digest_mapping) / sizeof(struct nid_to_digest); in EVP_get_digestbynid()
294 if (nid_to_digest_mapping[i].nid == nid) { in EVP_get_digestbynid()
295 return nid_to_digest_mapping[i].md_func(); in EVP_get_digestbynid()
309 for (i = 0; i < sizeof(nid_to_digest_mapping) / sizeof(struct nid_to_digest); in EVP_get_digestbyname()
311 const char *short_name = nid_to_digest_mapping[i].short_name; in EVP_get_digestbyname()
312 const char *long_name = nid_to_digest_mapping[i].long_name; in EVP_get_digestbyname()
315 return nid_to_digest_mapping[i].md_func(); in EVP_get_digestbyname()