Lines Matching full:raise

379         raise AvbError('Error getting public key: {}'.format(perr))
382 raise AvbError('Unexpected modulus output')
408 raise AvbError('Only RSA keys with exponent 65537 are supported.')
438 raise AvbError('Unknown algorithm type {}'.format(alg_type))
469 raise AvbError('Error signing')
488 raise AvbError('Error signing: {}'.format(perr))
491 raise AvbError('Error signing: Invalid length of signature')
601 raise ValueError('RAW chunk cannot have fill_data set.')
603 raise ValueError('RAW chunk must have input_offset set.')
606 raise ValueError('FILL chunk must have fill_data set.')
608 raise ValueError('FILL chunk cannot have input_offset set.')
611 raise ValueError('DONT_CARE chunk cannot have fill_data set.')
613 raise ValueError('DONT_CARE chunk cannot have input_offset set.')
615 raise ValueError('Invalid chunk type')
685 raise ValueError('Encountered sparse image format version {}.{} but '
689 raise ValueError('Unexpected file_hdr_sz value {}.'.
692 raise ValueError('Unexpected chunk_hdr_sz value {}.'.
715 raise ValueError('Raw chunk input size ({}) does not match output '
728 raise ValueError('Fill chunk should have 4 bytes of fill, but this '
739 raise ValueError('Don\'t care chunk input size is non-zero ({})'.
749 raise ValueError('CRC32 chunk should have 4 bytes of CRC, but '
753 raise ValueError('Unknown chunk type {}'.format(chunk_type))
763 raise ValueError('The header said we should have {} output blocks, '
767 raise ValueError('There were {} bytes of extra data at the end of the '
891 raise RuntimeError("Seeking with negative offset: %d" % offset)
969 raise ValueError('Cannot truncate to a size which is not a multiple '
1133 raise LookupError('Given data does not look like a property '
1247 raise LookupError('Given data does not look like a hashtree '
1262 raise LookupError('root_digest_len doesn\'t match hash algorithm')
1421 raise LookupError('Given data does not look like a hash ' 'descriptor.')
1435 raise LookupError('digest_len doesn\'t match hash algorithm')
1547 raise LookupError('Given data does not look like a kernel cmdline '
1639 raise LookupError('Given data does not look like a chain partition '
1799 raise LookupError('Given data does not look like a AVB footer.')
1874 raise AvbError('Given image does not look like a vbmeta image.')
1979 raise AvbError('Given image does not have a footer.')
1999 raise AvbError('Requested to keep hashtree but no hashtree '
2019 raise AvbError('Partition size of {} is not a multiple of the image '
2026 raise AvbError('Given image does not have a footer.')
2036 raise AvbError('Requested size of {} is too small for an image '
2070 raise AvbError('Malformed slot data "{}".'.format(slot_data))
2154 raise AvbError('Malformed chained partition "{}".'.format(cp))
2183 raise AvbError('Signature check failed for {} vbmeta struct {}'
2193 raise AvbError('Embedded public key does not match given key.')
2204 raise AvbError('Error verifying descriptor.')
2362 raise AvbError('No hashtree descriptor in given image')
2420 raise AvbError('No output file given')
2497 raise AvbError('Unknown algorithm with name {}'.format(algorithm_name))
2511 raise AvbError('Malformed chained partition "{}".'.format(cp))
2518 raise AvbError('Rollback Index Location {} is already in use.'.format(
2525 raise AvbError('Rollback index location must be 1 or larger.')
2539 raise AvbError('Malformed property "{}".'.format(prop))
2548 raise AvbError('Malformed property "{}".'.format(prop))
2612 raise AvbError('Key is required for algorithm {}'.format(
2616 raise AvbError('Key is wrong size for algorithm {}'.format(
2714 raise AvbError('Partition size of {} is not a multiple of the image '
2777 # Truncate back to original size, then re-raise
2779 raise
2845 raise AvbError('Parition size of {} is too small. '
2858 raise AvbError('Partition size of {} is not a multiple of the image '
2883 raise AvbError('Image size of {} exceeds maximum image '
2974 # Truncate back to original size, then re-raise
2976 raise
3073 raise AvbError('Partition size of {} is not a multiple of the image '
3103 raise AvbError('Image size of {} exceeds maximum image '
3221 # Truncate back to original size, then re-raise.
3223 raise
3304 raise AvbError('Invalid Product ID length.')
3331 raise AvbError('Invalid intermediate key certificate length.')
3333 raise AvbError('Invalid product key certificate length.')
3372 raise AvbError('Invalid intermediate key certificate length.')
3374 raise AvbError('Invalid product key certificate length.')
3380 raise AvbError('Invalid unlock challenge length.')
3464 raise ValueError('Error invoking fec: {}'.format(perr))
3492 raise ValueError('Unexpected magic in FEC footer')