Lines Matching refs:AvbError

55 class AvbError(Exception):  class
384 raise AvbError('Error getting public key: {}'.format(perr))
387 raise AvbError('Unexpected modulus output')
412 raise AvbError('Only RSA keys with exponent 65537 are supported.')
447 raise AvbError('Algorithm with name {} is not supported.'
451 raise AvbError('Key size of key ({} bits) does not match key size '
472 raise AvbError('Error signing')
491 raise AvbError('Error signing: {}'.format(perr))
494 raise AvbError('Error signing: Invalid length of signature')
514 raise AvbError('Unknown algorithm type {}'.format(alg_type))
533 raise AvbError('Unsupported algorithm type {}'.format(alg_type))
628 raise AvbError('Error generating DER file')
639 raise AvbError('Error verifying data: {}'.format(perr))
2112 raise AvbError('Given image does not look like a vbmeta image.')
2220 raise AvbError('Given image does not have a footer.')
2244 raise AvbError('Given image does not have a footer.')
2264 raise AvbError('Requested to keep hashtree but no hashtree '
2282 raise AvbError('Given image does not have a footer.')
2293 raise AvbError('No hashtree descriptor was found.')
2301 raise AvbError('Hash-tree and FEC data must be adjacent.')
2338 raise AvbError('Partition size of {} is not a multiple of the image '
2343 raise AvbError('Given image does not have a footer.')
2353 raise AvbError('Requested size of {} is too small for an image '
2387 raise AvbError('Malformed slot data "{}".'.format(slot_data))
2513 raise AvbError('Malformed chained partition "{}".'.format(cp))
2547 raise AvbError('Signature check failed for {} vbmeta struct {}'
2558 raise AvbError('Embedded public key does not match given key.')
2580 raise AvbError('Error verifying descriptor.')
2903 raise AvbError('No hashtree descriptor in given image')
2963 raise AvbError('No output file given')
3042 raise AvbError('Unknown algorithm with name {}'
3057 raise AvbError('Malformed chained partition "{}".'.format(cp))
3064 raise AvbError('Rollback Index Location {} is already in use.'.format(
3071 raise AvbError('Rollback index location must be 1 or larger.')
3086 raise AvbError('Malformed property "{}".'.format(prop))
3096 raise AvbError('Malformed property "{}".'.format(prop))
3161 raise AvbError('Key is required for algorithm {}'.format(
3165 raise AvbError('Key is wrong size for algorithm {}'.format(
3265 raise AvbError('Partition size of {} is not a multiple of the image '
3330 raise AvbError('Appending VBMeta image failed: {}.'.format(e)) from e
3386 raise AvbError('--dynamic_partition_size required when not specifying a '
3390 raise AvbError('--calc_max_image_size not supported with '
3409 raise AvbError('Parition size of {} is too small. '
3442 raise AvbError('Partition size of {} is not a multiple of the image '
3451 raise AvbError('Image size of {} exceeds maximum image '
3545 raise AvbError('Adding hash_footer failed: {}.'.format(e)) from e
3657 raise AvbError('Partition size of {} is not a multiple of the image '
3661 raise AvbError('File size of {} is not a multiple of the image '
3692 raise AvbError('Image size of {} exceeds maximum image '
3823 raise AvbError('Adding hashtree_footer failed: {}.'.format(e)) from e
3900 raise AvbError('Invalid Product ID length.')
3927 raise AvbError('Invalid intermediate key certificate length.')
3929 raise AvbError('Invalid product key certificate length.')
3968 raise AvbError('Invalid intermediate key certificate length.')
3970 raise AvbError('Invalid product key certificate length.')
3976 raise AvbError('Invalid unlock challenge length.')
4736 except AvbError as e: