Home
last modified time | relevance | path

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

/system/nvram/core/
Dcrypto_boringssl.cpp32 size_t digest_size) { in SHA256() argument
39 if (digest_size < sizeof(buffer)) { in SHA256()
40 memcpy(digest, buffer, digest_size); in SHA256()
43 memset(digest + sizeof(buffer), 0, digest_size - sizeof(buffer)); in SHA256()
Dcrypto.h40 size_t digest_size);
/system/security/ondevice-signing/
DVerityUtils.cpp56 __le16 digest_size; member
98 if (digest->digest_size != expected_digest_size) { in createDigest()
100 << " actual: " << digest->digest_size; in createDigest()
133 d->digest_size = cpu_to_le16(digest.size()); in signDigest()
218 d->digest_size = FS_VERITY_MAX_DIGEST_SIZE; in isFileInVerity()
223 return toHex({&d->digest[0], &d->digest[d->digest_size]}); in isFileInVerity()