Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/tpm2/unittests/
Dgetrandom-simulator-test.cc37 std::vector<uint8_t> expected_digest = { in TEST_F() local
46 int num_bits = (int)expected_digest.size() * 8; in TEST_F()
50 EXPECT_EQ(expected_digest, output); in TEST_F()
/external/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_measurements.sh100 local algorithm digest expected_digest line
140 expected_digest="$(compute_digest $algorithm $TEST_FILE)" || \
143 if [ "$digest" = "$expected_digest" ]; then
/external/boringssl/src/crypto/ecdh_extra/
Decdh_test.cc121 uint8_t digest[SHA256_DIGEST_LENGTH], expected_digest[SHA256_DIGEST_LENGTH]; in TEST() local
124 SHA256(z.data(), z.size(), expected_digest); in TEST()
125 EXPECT_EQ(Bytes(digest), Bytes(expected_digest)); in TEST()
/external/webrtc/webrtc/base/
Dsslidentity_unittest.cc162 const unsigned char* expected_digest) { in TestDigestForFixedCert() argument
173 EXPECT_EQ(0, memcmp(digest, expected_digest, expected_len)); in TestDigestForFixedCert()
/external/u-boot/lib/libavb/
Davb_slot_verify.c180 const uint8_t* expected_digest = NULL; in load_and_verify_hash_partition() local
301 expected_digest = expected_digest_buf; in load_and_verify_hash_partition()
311 expected_digest = desc_digest; in load_and_verify_hash_partition()
321 if (avb_safe_memcmp(digest, expected_digest, digest_len) != 0) { in load_and_verify_hash_partition()
/external/fsverity-utils/
Dsign.c90 const u8 *expected_digest, in compare_fsverity_digest() argument
104 if (memcmp(expected_digest, d->digest, hash_alg->digest_size)) in compare_fsverity_digest()
/external/avb/libavb/
Davb_slot_verify.c300 const uint8_t* expected_digest = NULL; in load_and_verify_hash_partition() local
413 expected_digest = expected_digest_buf; in load_and_verify_hash_partition()
426 expected_digest = desc_digest; in load_and_verify_hash_partition()
436 if (avb_safe_memcmp(digest, expected_digest, digest_len) != 0) { in load_and_verify_hash_partition()