Lines Matching refs:AvbError
51 class AvbError(Exception): class
378 raise AvbError('Error getting public key: {}'.format(perr))
381 raise AvbError('Unexpected modulus output')
407 raise AvbError('Only RSA keys with exponent 65537 are supported.')
437 raise AvbError('Unknown algorithm type {}'.format(alg_type))
468 raise AvbError('Error signing')
487 raise AvbError('Error signing: {}'.format(perr))
490 raise AvbError('Error signing: Invalid length of signature')
579 raise AvbError('Error generating DER file')
589 raise AvbError('Error verifying data: {}'.format(perr))
1931 raise AvbError('Given image does not look like a vbmeta image.')
2036 raise AvbError('Given image does not have a footer.')
2063 raise AvbError('Given image does not have a footer.')
2083 raise AvbError('Requested to keep hashtree but no hashtree '
2103 raise AvbError('Partition size of {} is not a multiple of the image '
2110 raise AvbError('Given image does not have a footer.')
2120 raise AvbError('Requested size of {} is too small for an image '
2154 raise AvbError('Malformed slot data "{}".'.format(slot_data))
2239 raise AvbError('Malformed chained partition "{}".'.format(cp))
2268 raise AvbError('Signature check failed for {} vbmeta struct {}'
2278 raise AvbError('Embedded public key does not match given key.')
2298 raise AvbError('Error verifying descriptor.')
2545 raise AvbError('No hashtree descriptor in given image')
2603 raise AvbError('No output file given')
2680 raise AvbError('Unknown algorithm with name {}'.format(algorithm_name))
2694 raise AvbError('Malformed chained partition "{}".'.format(cp))
2701 raise AvbError('Rollback Index Location {} is already in use.'.format(
2708 raise AvbError('Rollback index location must be 1 or larger.')
2722 raise AvbError('Malformed property "{}".'.format(prop))
2731 raise AvbError('Malformed property "{}".'.format(prop))
2795 raise AvbError('Key is required for algorithm {}'.format(
2799 raise AvbError('Key is wrong size for algorithm {}'.format(
2897 raise AvbError('Partition size of {} is not a multiple of the image '
3028 raise AvbError('Parition size of {} is too small. '
3041 raise AvbError('Partition size of {} is not a multiple of the image '
3066 raise AvbError('Image size of {} exceeds maximum image '
3261 raise AvbError('Partition size of {} is not a multiple of the image '
3266 raise AvbError('File size of {} is not a multiple of the image '
3297 raise AvbError('Image size of {} exceeds maximum image '
3500 raise AvbError('Invalid Product ID length.')
3527 raise AvbError('Invalid intermediate key certificate length.')
3529 raise AvbError('Invalid product key certificate length.')
3568 raise AvbError('Invalid intermediate key certificate length.')
3570 raise AvbError('Invalid product key certificate length.')
3576 raise AvbError('Invalid unlock challenge length.')
4255 except AvbError as e: