Home
last modified time | relevance | path

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

/hardware/interfaces/gatekeeper/1.0/software/
DSoftGateKeeper.h128 size_t digest_size = password.size() + sizeof(salt); in ComputeFastHash() local
129 std::unique_ptr<uint8_t[]> digest(new uint8_t[digest_size]); in ComputeFastHash()
133 SHA256(digest.get(), digest_size, (uint8_t*)&fast_hash.digest); in ComputeFastHash()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2751 constexpr size_t digest_size = 160 /* SHA1 */ / 8; in TEST_P() local
2752 constexpr size_t oaep_overhead = 2 * digest_size + 2; in TEST_P()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2459 constexpr size_t digest_size = 256 /* SHA_2_256 */ / 8; in TEST_P() local
2460 constexpr size_t oaep_overhead = 2 * digest_size + 2; in TEST_P()