Home | History | Annotate | Download | only in avb

Lines Matching refs:algorithm_name

388 def raw_sign(signing_helper, algorithm_name, key_path, raw_data_to_sign):
393 algorithm_name: The algorithm name as per the ALGORITHMS dict.
406 [signing_helper, algorithm_name, key_path],
1927 def make_vbmeta_image(self, output, chain_partitions, algorithm_name,
1939 algorithm_name: Name of algorithm to use.
1959 algorithm_name, key_path, public_key_metadata_path, descriptors,
1969 def _generate_vbmeta_blob(self, algorithm_name, key_path,
1984 The |key| parameter can |None| only if the |algorithm_name| is
1988 algorithm_name: The algorithm name as per the ALGORITHMS dict.
2010 Exception: If the |algorithm_name| is not found, if no key has
2016 alg = ALGORITHMS[algorithm_name]
2018 raise AvbError('Unknown algorithm with name {}'.format(algorithm_name))
2099 algorithm_name))
2104 algorithm_name))
2156 if algorithm_name != 'NONE':
2157 if algorithm_name[0:6] == 'SHA256':
2159 elif algorithm_name[0:6] == 'SHA512':
2162 raise AvbError('Unsupported algorithm {}.'.format(algorithm_name))
2169 binary_signature.extend(raw_sign(signing_helper, algorithm_name, key_path,
2270 hash_algorithm, salt, chain_partitions, algorithm_name,
2287 algorithm_name: Name of algorithm to use.
2372 algorithm_name, key_path, public_key_metadata_path, [h_desc],
2427 block_size, salt, chain_partitions, algorithm_name,
2451 algorithm_name: Name of algorithm to use.
2601 algorithm_name, key_path, public_key_metadata_path, [ht_desc],
2684 algorithm_name = 'SHA512_RSA4096'
2686 padding_and_hash.extend(ALGORITHMS[algorithm_name].padding)
2689 signature.extend(raw_sign(signing_helper, algorithm_name,