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/core/gatekeeperd/
DSoftGateKeeper.h131 size_t digest_size = password.length + sizeof(salt); in ComputeFastHash() local
132 std::unique_ptr<uint8_t[]> digest(new uint8_t[digest_size]); in ComputeFastHash()
136 SHA256(digest.get(), digest_size, (uint8_t *) &fast_hash.digest); in ComputeFastHash()