Home
last modified time | relevance | path

Searched refs:hash_algorithm (Results 1 – 25 of 70) sorted by relevance

123

/external/fsverity-utils/programs/
Dtest_compute_digest.c49 u32 hash_algorithm; member
56 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
64 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
72 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
80 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
88 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
96 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
105 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
114 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
122 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
[all …]
/external/cronet/stable/net/cert/
Dsigned_certificate_timestamp.cc38 pickle->WriteInt(signature.hash_algorithm); in Persist()
50 int hash_algorithm; in CreateFromPickle() local
59 iter->ReadInt(&hash_algorithm) && in CreateFromPickle()
69 sct->signature.hash_algorithm = in CreateFromPickle()
70 static_cast<DigitallySigned::HashAlgorithm>(hash_algorithm); in CreateFromPickle()
94 return (hash_algorithm == other_hash_algorithm) && in SignatureParametersMatch()
Dct_log_response_parser_unittest.cc50 ASSERT_EQ(tree_head.signature.hash_algorithm, in TEST()
51 expected_signature.hash_algorithm); in TEST()
Dct_objects_extractor.cc210 CBS hash_algorithm, hash, serial_number, issuer_name_hash, issuer_key_hash; in FindMatchingSingleResponse() local
211 if (!CBS_get_asn1(&cert_id, &hash_algorithm, CBS_ASN1_SEQUENCE) || in FindMatchingSingleResponse()
212 !CBS_get_asn1(&hash_algorithm, &hash, CBS_ASN1_OBJECT) || in FindMatchingSingleResponse()
Dsigned_tree_head.cc52 rhs.signature.hash_algorithm, rhs.signature.signature_algorithm) && in operator ==()
/external/cronet/tot/net/cert/
Dsigned_certificate_timestamp.cc38 pickle->WriteInt(signature.hash_algorithm); in Persist()
50 int hash_algorithm; in CreateFromPickle() local
59 iter->ReadInt(&hash_algorithm) && in CreateFromPickle()
69 sct->signature.hash_algorithm = in CreateFromPickle()
70 static_cast<DigitallySigned::HashAlgorithm>(hash_algorithm); in CreateFromPickle()
94 return (hash_algorithm == other_hash_algorithm) && in SignatureParametersMatch()
Dct_log_response_parser_unittest.cc50 ASSERT_EQ(tree_head.signature.hash_algorithm, in TEST()
51 expected_signature.hash_algorithm); in TEST()
Dct_objects_extractor.cc210 CBS hash_algorithm, hash, serial_number, issuer_name_hash, issuer_key_hash; in FindMatchingSingleResponse() local
211 if (!CBS_get_asn1(&cert_id, &hash_algorithm, CBS_ASN1_SEQUENCE) || in FindMatchingSingleResponse()
212 !CBS_get_asn1(&hash_algorithm, &hash, CBS_ASN1_OBJECT) || in FindMatchingSingleResponse()
Dsigned_tree_head.cc52 rhs.signature.hash_algorithm, rhs.signature.signature_algorithm) && in operator ==()
/external/flatbuffers/src/
Dflathash.cpp58 const char *hash_algorithm = argv[1]; in main() local
61 flatbuffers::FindHashFunction16(hash_algorithm); in main()
63 flatbuffers::FindHashFunction32(hash_algorithm); in main()
65 flatbuffers::FindHashFunction64(hash_algorithm); in main()
68 printf("\"%s\" is not a known hash algorithm.\n", hash_algorithm); in main()
/external/avb/rust/src/descriptor/
Dhash.rs34 pub hash_algorithm: &'a str, field
82 let hash_algorithm = in new() localVariable
83 CStr::from_bytes_until_nul(&descriptor.raw_header.hash_algorithm)?.to_str()?; in new()
87 hash_algorithm, in new()
Dhashtree.rs58 pub hash_algorithm: &'a str, field
100 let hash_algorithm = in new() localVariable
101 CStr::from_bytes_until_nul(&descriptor.raw_header.hash_algorithm)?.to_str()?; in new()
113 hash_algorithm, in new()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_metadata.data3 hash_algorithm:PSA_ALG_MD5:16
7 hash_algorithm:PSA_ALG_RIPEMD160:20
11 hash_algorithm:PSA_ALG_SHA_1:20
15 hash_algorithm:PSA_ALG_SHA_224:28
19 hash_algorithm:PSA_ALG_SHA_256:32
23 hash_algorithm:PSA_ALG_SHA_384:48
27 hash_algorithm:PSA_ALG_SHA_512:64
31 hash_algorithm:PSA_ALG_SHA3_224:28
35 hash_algorithm:PSA_ALG_SHA3_256:32
39 hash_algorithm:PSA_ALG_SHA3_384:48
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_metadata.data3 hash_algorithm:PSA_ALG_MD5:16
7 hash_algorithm:PSA_ALG_RIPEMD160:20
11 hash_algorithm:PSA_ALG_SHA_1:20
15 hash_algorithm:PSA_ALG_SHA_224:28
19 hash_algorithm:PSA_ALG_SHA_256:32
23 hash_algorithm:PSA_ALG_SHA_384:48
27 hash_algorithm:PSA_ALG_SHA_512:64
31 hash_algorithm:PSA_ALG_SHA3_224:28
35 hash_algorithm:PSA_ALG_SHA3_256:32
39 hash_algorithm:PSA_ALG_SHA3_384:48
[all …]
/external/fsverity-utils/lib/
Denable.c41 arg.hash_algorithm = in libfsverity_enable_with_sig()
42 params->hash_algorithm ?: FS_VERITY_HASH_ALG_DEFAULT; in libfsverity_enable_with_sig()
/external/fsverity-utils/common/
Dfsverity_uapi.h23 __u32 hash_algorithm; member
51 __u8 hash_algorithm; /* Merkle tree hash algorithm */ member
/external/kernel-headers/original/uapi/linux/
Dfsverity.h21 __u32 hash_algorithm; member
49 __u8 hash_algorithm; /* Merkle tree hash algorithm */ member
/external/avb/
Davbtool.py1417 self.hash_algorithm, partition_name_len, salt_len,
1426 self.hash_algorithm = self.hash_algorithm.rstrip(b'\0').decode('ascii')
1454 self.hash_algorithm = ''
1461 return len(create_avb_hashtree_hasher(self.hash_algorithm, b'').digest())
1481 o.write(' Hash Algorithm: {}\n'.format(self.hash_algorithm))
1493 hash_algorithm_encoded = self.hash_algorithm.encode('ascii')
1539 self.hash_algorithm, self.salt,
1562 .format(self.partition_name, self.hash_algorithm, image.filename,
1610 (tag, num_bytes_following, self.image_size, self.hash_algorithm,
1619 self.hash_algorithm = self.hash_algorithm.rstrip(b'\0').decode('ascii')
[all …]
/external/ltp/include/lapi/
Dfsverity.h24 uint32_t hash_algorithm; member
/external/avb/libavb/
Davb_hash_descriptor.h67 uint8_t hash_algorithm[32]; member
Davb_hashtree_descriptor.h80 uint8_t hash_algorithm[32]; member
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py155 hash_algorithm='auto', argument
211 hash_algorithm = 'md5'
230 if not validate_file(fpath, file_hash, algorithm=hash_algorithm):
232 'incomplete or outdated because the ' + hash_algorithm +
/external/openscreen/cast/receiver/channel/
Ddevice_auth_namespace_handler_unittest.cc119 EXPECT_EQ(expected_auth_response.hash_algorithm(), in TEST_F()
120 auth_response.hash_algorithm()); in TEST_F()
/external/fsverity-utils/include/
Dlibfsverity.h44 uint32_t hash_algorithm; member
/external/openscreen/cast/common/channel/proto/
Dcast_channel.proto93 optional HashAlgorithm hash_algorithm = 3 [default = SHA1]; field
103 optional HashAlgorithm hash_algorithm = 6 [default = SHA1]; field

123