mbedtls/include/psa
Steven Cooreman 15f0d92a48 Move is_sign and mac_size checking back to PSA core scope
It makes sense to do the length checking in the core rather than expect
each driver to deal with it themselves. This puts the onus on the core to
dictate which algorithm/key combinations are valid before calling a driver.

Additionally, this commit also updates the psa_mac_sign_finish function
to better deal with output buffer sanitation, as per the review comments
on #4247.

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
2021-05-11 18:56:01 +02:00
..
crypto.h Update documentation of AEAD output size macros 2021-04-27 04:37:18 +02: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 Rename the PSA driver context structure headers to _primitives 2021-05-11 18:56:01 +02:00
crypto_compat.h Make sure we don't underflow in the size macros 2021-04-21 11:09:50 +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 Minor documentation improvements 2021-01-04 21:00:53 +01:00
crypto_se_driver.h Documentation: fix \p names that diverged from the code 2021-03-08 17:26:31 +01:00
crypto_sizes.h Update documentation of AEAD output size macros 2021-04-27 04:37:18 +02:00
crypto_struct.h Move is_sign and mac_size checking back to PSA core scope 2021-05-11 18:56:01 +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 Move and rename PSA_ALG_AEAD_IS_BASE_EQUAL 2021-04-21 11:06:00 +02:00