mbedtls/include/psa
Paul Elliott 7fe62cc88b Fix divide by zero if macro used with wrong key
If PSA_CIPHER_ENCRYPT_OUTPUT_SIZE was called on a non symmetric key,
then a divide by zero could happen, as PSA_CIPHER_BLOCK_LENGTH will
return 0 for such a key, and PSA_ROUND_UP_TO_MULTIPLE will divide by
the block length.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2021-07-08 11:28:15 +01:00
..
crypto_builtin_composites.h Move is_sign and mac_size checking back to PSA core scope 2021-05-11 18:56:01 +02:00
crypto_builtin_primitives.h Give a better name for struct member 2021-06-30 10:31:18 +02:00
crypto_compat.h Fix typos in C header files 2021-05-12 10:39:58 +02:00
crypto_config.h Add CMAC to standard PSA config 2021-05-11 18:56:01 +02:00
crypto_driver_common.h Remove old-style accelerator and entropy driver interfaces 2020-11-30 17:37:14 +01:00
crypto_driver_contexts_composites.h Add boilerplate for dispatching MAC operations 2021-05-11 18:56:01 +02:00
crypto_driver_contexts_primitives.h Remove inclusion of top-level crypto.h from the driver context header 2021-05-11 18:56:01 +02:00
crypto_extra.h Reword the builtin key language on persistency declaration 2021-04-16 11:25:18 +02:00
crypto_platform.h Move the inclusion of crypto_spe.h to psa/crypto_platform.h 2021-06-23 14:45:17 +02:00
crypto_se_driver.h Fix typos in C header files 2021-05-12 10:39:58 +02:00
crypto_sizes.h Fix divide by zero if macro used with wrong key 2021-07-08 11:28:15 +01:00
crypto_struct.h Do key usage policy extension when loading keys 2021-06-24 11:58:19 +02:00
crypto_types.h psa: Make sure MBEDTLS_PSA_CRYPTO_CLIENT is defined 2021-02-09 15:36:08 +01:00
crypto_values.h Hopefully clarify the example 2021-06-07 23:21:50 +02:00
crypto.h Fix documentation 2021-05-06 13:50:32 +02:00