mbedtls/programs/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
..
CMakeLists.txt psa: programs: Add cipher example 2018-09-12 16:50:07 +03:00
crypto_examples.c Correct and simplify block-based cipher modes 2018-09-20 11:58:22 +02:00
key_ladder_demo.c New sample program key_ladder_demo 2018-09-12 16:50:07 +03:00
key_ladder_demo.sh New sample program key_ladder_demo 2018-09-12 16:50:07 +03:00
psa_constant_names.c New utility program psa/psa_constant_names 2018-09-12 16:41:12 +03:00