Home
last modified time | relevance | path

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

/external/fsverity-utils/
Dcmd_measure.c23 char digest_hex[FS_VERITY_MAX_DIGEST_SIZE * 2 + 1]; in fsverity_cmd_measure() local
49 bin2hex(d->digest, d->digest_size, digest_hex); in fsverity_cmd_measure()
57 printf("%s:%s %s\n", hash_alg_name, digest_hex, argv[i]); in fsverity_cmd_measure()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc151 char digest_hex[2*EVP_MAX_MD_SIZE + 1]; in CompareDigest() local
154 digest_hex[2*i] = kHexTable[digest[i] >> 4]; in CompareDigest()
155 digest_hex[2*i + 1] = kHexTable[digest[i] & 0xf]; in CompareDigest()
157 digest_hex[2*digest_len] = '\0'; in CompareDigest()
159 EXPECT_STREQ(test->expected_hex, digest_hex); in CompareDigest()