Lines Matching refs:AvbError
55 class AvbError(Exception): class
383 raise AvbError('Error getting public key: {}'.format(perr))
386 raise AvbError('Unexpected modulus output')
411 raise AvbError('Only RSA keys with exponent 65537 are supported.')
446 raise AvbError('Algorithm with name {} is not supported.'
450 raise AvbError('Key size of key ({} bits) does not match key size '
471 raise AvbError('Error signing')
490 raise AvbError('Error signing: {}'.format(perr))
493 raise AvbError('Error signing: Invalid length of signature')
513 raise AvbError('Unknown algorithm type {}'.format(alg_type))
532 raise AvbError('Unsupported algorithm type {}'.format(alg_type))
627 raise AvbError('Error generating DER file')
638 raise AvbError('Error verifying data: {}'.format(perr))
2107 raise AvbError('Given image does not look like a vbmeta image.')
2215 raise AvbError('Given image does not have a footer.')
2239 raise AvbError('Given image does not have a footer.')
2259 raise AvbError('Requested to keep hashtree but no hashtree '
2277 raise AvbError('Given image does not have a footer.')
2288 raise AvbError('No hashtree descriptor was found.')
2296 raise AvbError('Hash-tree and FEC data must be adjacent.')
2333 raise AvbError('Partition size of {} is not a multiple of the image '
2338 raise AvbError('Given image does not have a footer.')
2348 raise AvbError('Requested size of {} is too small for an image '
2382 raise AvbError('Malformed slot data "{}".'.format(slot_data))
2508 raise AvbError('Malformed chained partition "{}".'.format(cp))
2542 raise AvbError('Signature check failed for {} vbmeta struct {}'
2553 raise AvbError('Embedded public key does not match given key.')
2575 raise AvbError('Error verifying descriptor.')
2890 raise AvbError('No hashtree descriptor in given image')
2950 raise AvbError('No output file given')
3029 raise AvbError('Unknown algorithm with name {}'.format(algorithm_name))
3043 raise AvbError('Malformed chained partition "{}".'.format(cp))
3050 raise AvbError('Rollback Index Location {} is already in use.'.format(
3057 raise AvbError('Rollback index location must be 1 or larger.')
3072 raise AvbError('Malformed property "{}".'.format(prop))
3082 raise AvbError('Malformed property "{}".'.format(prop))
3147 raise AvbError('Key is required for algorithm {}'.format(
3151 raise AvbError('Key is wrong size for algorithm {}'.format(
3251 raise AvbError('Partition size of {} is not a multiple of the image '
3316 raise AvbError('Appending VBMeta image failed: {}.'.format(e))
3385 raise AvbError('Parition size of {} is too small. '
3398 raise AvbError('Partition size of {} is not a multiple of the image '
3423 raise AvbError('Image size of {} exceeds maximum image '
3517 raise AvbError('Adding hash_footer failed: {}.'.format(e))
3627 raise AvbError('Partition size of {} is not a multiple of the image '
3631 raise AvbError('File size of {} is not a multiple of the image '
3662 raise AvbError('Image size of {} exceeds maximum image '
3791 raise AvbError('Adding hashtree_footer failed: {}.'.format(e))
3868 raise AvbError('Invalid Product ID length.')
3895 raise AvbError('Invalid intermediate key certificate length.')
3897 raise AvbError('Invalid product key certificate length.')
3936 raise AvbError('Invalid intermediate key certificate length.')
3938 raise AvbError('Invalid product key certificate length.')
3944 raise AvbError('Invalid unlock challenge length.')
4689 except AvbError as e: