Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/digest/
Ddigest_test.cc142 char digest_hex[2*EVP_MAX_MD_SIZE + 1]; in CompareDigest() local
145 digest_hex[2*i] = kHexTable[digest[i] >> 4]; in CompareDigest()
146 digest_hex[2*i + 1] = kHexTable[digest[i] & 0xf]; in CompareDigest()
148 digest_hex[2*digest_len] = '\0'; in CompareDigest()
150 if (strcmp(digest_hex, test->expected_hex) != 0) { in CompareDigest()
153 digest_hex, test->expected_hex); in CompareDigest()