mbedtls/include/psa
Gilles Peskine daea26f70f Correct and simplify block-based cipher modes
OFB and CFB are streaming modes. XTS is a not a cipher mode but it
doesn't use a separate padding step. This leaves only CBC as a block
cipher mode that needs a padding step.

Since CBC is the only mode that uses a separate padding step, and is
likely to remain the only mode in the future, encode the padding mode
directly in the algorithm constant, rather than building up an
algorithm value from a chaining mode and a padding mode. This greatly
simplifies the interface as well as some parts of the implementation.
2018-09-20 11:58:22 +02:00
..
crypto_extra.h Add notes about the purpose and usage of auxiliary header files 2018-09-12 16:41:11 +03:00
crypto_platform.h Add notes about the purpose and usage of auxiliary header files 2018-09-12 16:41:11 +03:00
crypto_sizes.h Fix copypasta in PSA_KEY_EXPORT_MAX_SIZE documentation 2018-09-14 10:02:29 +01:00
crypto_struct.h Change psa_structs to use unsigned ints 2018-09-14 10:02:28 +01:00
crypto.h Correct and simplify block-based cipher modes 2018-09-20 11:58:22 +02:00