Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_security_VerityUtils.cpp119 data->digest_size = kDigestSha256; // the only input/output parameter in measureFsverity()
134 if (digest != nullptr && data->digest_size > 0) { in measureFsverity()
136 if (data->digest_size > digestSize) { in measureFsverity()
139 env->SetByteArrayRegion(digest, 0, data->digest_size, (const jbyte *)data->digest); in measureFsverity()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp178 constexpr int digest_size = SHA256_DIGEST_SIZE; in verityTreeSizeForFile() local
179 constexpr int hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in verityTreeSizeForFile()