Home
last modified time | relevance | path

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

123

/external/fsverity-utils/programs/
Dtest_compute_digest.c41 u32 hash_algorithm; member
48 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
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,
97 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
106 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
114 .hash_algorithm = FS_VERITY_HASH_ALG_SHA256,
[all …]
/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/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()
Dcompute_digest.c168 alg_num = params->hash_algorithm ?: FS_VERITY_HASH_ALG_DEFAULT; in libfsverity_compute_digest()
211 desc.hash_algorithm = alg_num; in libfsverity_compute_digest()
/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/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-inherit24 hash_algorithm sha1;
42 hash_algorithm sha1;
Dracoon.conf.in68 hash_algorithm sha1;
90 hash_algorithm sha1;
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Dpadding.py72 def calculate_max_pss_salt_length(key, hash_algorithm): argument
77 salt_length = emlen - hash_algorithm.digest_size - 2
/external/ipsec-tools/src/racoon/
Dalgorithm.c55 static struct hash_algorithm oakley_hashdef[] = {
290 static struct hash_algorithm *alg_oakley_hashdef __P((int));
298 static struct hash_algorithm *
317 struct hash_algorithm *f;
344 struct hash_algorithm *f;
357 struct hash_algorithm *f;
371 struct hash_algorithm *f;
/external/avb/
Davbtool.py1396 self.hash_algorithm, partition_name_len, salt_len,
1405 self.hash_algorithm = self.hash_algorithm.rstrip(b'\0').decode('ascii')
1433 self.hash_algorithm = ''
1440 return len(create_avb_hashtree_hasher(self.hash_algorithm, b'').digest())
1460 o.write(' Hash Algorithm: {}\n'.format(self.hash_algorithm))
1472 hash_algorithm_encoded = self.hash_algorithm.encode('ascii')
1518 self.hash_algorithm, self.salt,
1541 .format(self.partition_name, self.hash_algorithm, image.filename,
1589 (tag, num_bytes_following, self.image_size, self.hash_algorithm,
1598 self.hash_algorithm = self.hash_algorithm.rstrip(b'\0').decode('ascii')
[all …]
Davbtool1396 self.hash_algorithm, partition_name_len, salt_len,
1405 self.hash_algorithm = self.hash_algorithm.rstrip(b'\0').decode('ascii')
1433 self.hash_algorithm = ''
1440 return len(create_avb_hashtree_hasher(self.hash_algorithm, b'').digest())
1460 o.write(' Hash Algorithm: {}\n'.format(self.hash_algorithm))
1472 hash_algorithm_encoded = self.hash_algorithm.encode('ascii')
1518 self.hash_algorithm, self.salt,
1541 .format(self.partition_name, self.hash_algorithm, image.filename,
1589 (tag, num_bytes_following, self.image_size, self.hash_algorithm,
1598 self.hash_algorithm = self.hash_algorithm.rstrip(b'\0').decode('ascii')
[all …]
Daftltool892 def __init__(self, hash_algorithm=HashAlgorithm.SHA256, argument
894 self.hash_algorithm = hash_algorithm
913 (hash_algorithm, signature_algorithm) = struct.unpack(
916 hash_algorithm = HashAlgorithm(hash_algorithm)
918 raise AftlError('unknown hash algorithm: {}'.format(hash_algorithm))
925 return Signature(hash_algorithm, signature_algorithm, signature)
938 stream.write(struct.pack(self.FORMAT_STRING, self.hash_algorithm.value,
1017 signature = Signature(hash_algorithm=HashAlgorithm.SHA256,
Daftltool.py892 def __init__(self, hash_algorithm=HashAlgorithm.SHA256, argument
894 self.hash_algorithm = hash_algorithm
913 (hash_algorithm, signature_algorithm) = struct.unpack(
916 hash_algorithm = HashAlgorithm(hash_algorithm)
918 raise AftlError('unknown hash algorithm: {}'.format(hash_algorithm))
925 return Signature(hash_algorithm, signature_algorithm, signature)
938 stream.write(struct.pack(self.FORMAT_STRING, self.hash_algorithm.value,
1017 signature = Signature(hash_algorithm=HashAlgorithm.SHA256,
/external/avb/proto/crypto/sigpb/
Dsigpb.proto51 // hash_algorithm contains the hash algorithm used.
52 HashAlgorithm hash_algorithm = 1; field
/external/openssh/
DPROTOCOL.sshsig42 string hash_algorithm
63 Data to be signed is first hashed with the specified hash_algorithm.
86 string hash_algorithm
/external/avb/libavb/
Davb_hash_descriptor.h67 uint8_t hash_algorithm[32]; member
Davb_hashtree_descriptor.h77 uint8_t hash_algorithm[32]; member
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dracoon.conf20 hash_algorithm sha1;
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
Dracoon.conf18 hash_algorithm sha1;
Dracoon.conf-radius18 hash_algorithm sha1;
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py171 hash_algorithm='auto', argument
227 hash_algorithm = 'md5'
246 if not validate_file(fpath, file_hash, algorithm=hash_algorithm):
248 'incomplete or outdated because the ' + hash_algorithm +
/external/fsverity-utils/include/
Dlibfsverity.h44 uint32_t hash_algorithm; member
/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/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