Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/freetype/tests/scripts/
Ddownload-test-fonts.py127 def download_file(url: str, expected_digest: Optional[bytes] = None):
139 if expected_digest is not None:
141 if digest != expected_digest:
144 % (url, digest.hex(), expected_digest.hex())
154 expected_digest: Optional[bytes] = None,
172 if expected_digest is not None:
174 if digest != expected_digest:
177 % (filepath, archive_name, digest.hex(), expected_digest.hex())
/third_party/freetype/tests/scripts/
Ddownload-test-fonts.py127 def download_file(url: str, expected_digest: Optional[bytes] = None):
139 if expected_digest is not None:
141 if digest != expected_digest:
144 % (url, digest.hex(), expected_digest.hex())
154 expected_digest: Optional[bytes] = None,
172 if expected_digest is not None:
174 if digest != expected_digest:
177 % (filepath, archive_name, digest.hex(), expected_digest.hex())
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_selinux.sh107 local digest expected_digest algorithm
130 expected_digest="$(compute_digest $algorithm $state_file)" || \
133 if [ "$digest" != "$expected_digest" ]; then
134 tst_res TFAIL "digest mismatch: expected: $expected_digest, got: $digest"
Dima_kexec.sh24 local algorithm digest expected_digest found
34 expected_digest=$(compute_digest $algorithm file1)
36 if [ "$digest" = "$expected_digest" ]; then
Dima_keys.sh79 local digest expected_digest algorithm
87 if ! expected_digest="$(compute_digest $algorithm $test_file)"; then
92 if [ "$digest" != "$expected_digest" ]; then
Dima_setup.sh285 local algorithm digest expected_digest line tmp
300 expected_digest="$(compute_digest $algorithm $test_file)" || \
303 if [ "$digest" = "$expected_digest" ]; then
/third_party/fsverity-utils/programs/
Dtest_compute_digest.c283 const char *expected_digest; in handle_merkle_tree_block() local
302 expected_digest = "\x68\xc5\x38\xe1\x19\x58\xd6\x5d" in handle_merkle_tree_block()
310 expected_digest = "\xf7\x89\xba\xab\x53\x85\x9f\xaf" in handle_merkle_tree_block()
315 expected_digest = "\x00\xfe\xd0\x3c\x5d\x6e\xab\x21" in handle_merkle_tree_block()
321 ASSERT(!memcmp(digest, expected_digest, SHA256_DIGEST_LENGTH)); in handle_merkle_tree_block()