mbedtls/include/psa
Paul Elliott a02003babe 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-07 17:24:46 +01:00
..
crypto.h Fixes for PBKDF2 documentation 2021-06-24 16:47:14 +01:00
crypto_builtin_composites.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
crypto_builtin_primitives.h Give a better name for struct member 2021-06-30 10:45:58 +02:00
crypto_compat.h Fix typos in C header files 2021-05-10 19:54:11 +02:00
crypto_config.h Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01: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-07 23:32:32 +02:00
crypto_driver_contexts_primitives.h Remove inclusion of top-level crypto.h from the driver context header 2021-05-07 23:32:32 +02:00
crypto_extra.h Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
crypto_platform.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
crypto_se_driver.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
crypto_sizes.h Fix divide by zero if macro used with wrong key 2021-07-07 17:24:46 +01:00
crypto_struct.h Do key usage policy extension when loading keys 2021-06-29 17:05:49 +02:00
crypto_types.h PSA PAKE: move the API to crypto_extra.h 2021-06-08 14:48:34 +01:00
crypto_values.h Remove trailing space 2021-06-25 11:03:57 +01:00