Home | History | Annotate | Download | only in avb

Lines Matching defs:Algorithm

61 class Algorithm(object):
62 """Contains details about an algorithm.
94 'NONE': Algorithm(
101 'SHA256_RSA2048': Algorithm(
115 'SHA256_RSA4096': Algorithm(
129 'SHA256_RSA8192': Algorithm(
143 'SHA512_RSA2048': Algorithm(
157 'SHA512_RSA4096': Algorithm(
171 'SHA512_RSA8192': Algorithm(
274 Euclidian algorithm.
419 """Looks up algorithm by type.
425 A tuple with the algorithm name and an |Algorithm| instance.
428 Exception: If the algorithm cannot be found
434 raise AvbError('Unknown algorithm type {}'.format(alg_type))
445 algorithm_name: The algorithm name as per the ALGORITHMS dict.
1192 hash_algorithm: Hash algorithm used.
1211 '32s' # hash algorithm used
1253 raise LookupError('root_digest_len doesn\'t match hash algorithm')
1288 o.write(' Hash Algorithm: {}\n'.format(self.hash_algorithm))
1371 hash_algorithm: Hash algorithm used.
1382 '32s' # hash algorithm used
1420 raise LookupError('digest_len doesn\'t match hash algorithm')
1437 o.write(' Hash Algorithm: {}\n'.format(self.hash_algorithm))
1818 'L' # algorithm type
2105 o.write('Algorithm: {}\n'.format(alg_name))
2363 algorithm_name: Name of algorithm to use.
2434 algorithm_name: The algorithm name as per the ALGORITHMS dict.
2460 been given and the given algorithm requires one, or the key is
2467 raise AvbError('Unknown algorithm with name {}'.format(algorithm_name))
2563 raise AvbError('Key is required for algorithm {}'.format(
2567 raise AvbError('Key is wrong size for algorithm {}'.format(
2747 hash_algorithm: Hash algorithm to use.
2750 algorithm_name: Name of algorithm to use.
2933 hash_algorithm: Hash algorithm to use.
2937 algorithm_name: Name of algorithm to use.
3359 hash_alg_name: The hash algorithm, e.g. 'sha256' or 'sha1'.
3425 sub_parser.add_argument('--algorithm',
3426 help='Algorithm to use (default: NONE)',
3427 metavar='ALGORITHM',
3563 help='Hash algorithm to use (default: sha256)',
3609 help='Hash algorithm to use (default: sha1)',
3814 args.algorithm, args.key,
3838 args.salt, args.chain_partition, args.algorithm,
3868 args.salt, args.chain_partition, args.algorithm,