Home
last modified time | relevance | path

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

/system/keymaster/
Dhmac.cpp31 return SHA256_DIGEST_LENGTH; in DigestLength()
58 uint8_t tmp[SHA256_DIGEST_LENGTH]; in Sign()
60 if (digest_len >= SHA256_DIGEST_LENGTH) in Sign()
66 if (digest_len < SHA256_DIGEST_LENGTH) in Sign()
79 if (digest_len != SHA256_DIGEST_LENGTH) in Verify()
82 uint8_t computed_digest[SHA256_DIGEST_LENGTH]; in Verify()
86 return 0 == CRYPTO_memcmp(digest, computed_digest, SHA256_DIGEST_LENGTH); in Verify()
Docb_utils.cpp81 UniquePtr<uint8_t[]> hash_buf(new (std::nothrow) uint8_t[SHA256_DIGEST_LENGTH]); in InitializeKeyWrappingContext()
84 Eraser hash_eraser(hash_buf.get(), SHA256_DIGEST_LENGTH); in InitializeKeyWrappingContext()
/system/netd/server/
DSoftapController.cpp155 char psk_str[2*SHA256_DIGEST_LENGTH+1]; in setSoftap()
214 unsigned char psk[SHA256_DIGEST_LENGTH]; in generatePsk()
219 4096, SHA256_DIGEST_LENGTH, psk); in generatePsk()
220 for (j=0; j < SHA256_DIGEST_LENGTH; j++) { in generatePsk()
/system/vold/
Dcryptfs.h84 #if !defined(SHA256_DIGEST_LENGTH)
85 #define SHA256_DIGEST_LENGTH 32 macro
122 __le8 hash_first_block[SHA256_DIGEST_LENGTH]; /* When CRYPT_ENCRYPTION_IN_PROGRESS
Dcryptfs.c3108 __le8 hash_first_block[SHA256_DIGEST_LENGTH];
/system/core/gatekeeperd/
DSoftGateKeeper.h37 uint8_t digest[SHA256_DIGEST_LENGTH];
149 return memcmp(computed.digest, fast_hash.digest, SHA256_DIGEST_LENGTH) == 0; in VerifyFast()
/system/extras/verity/
Dverify_boot_signature.c326 unsigned char digest[SHA256_DIGEST_LENGTH]; in verify_signature()
346 if (!RSA_verify(NID_sha256, digest, SHA256_DIGEST_LENGTH, in verify_signature()