mbedtls/programs
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
..
aes Merge remote-tracking branch 'public/pr/1198' into development 2018-07-24 17:20:17 +01:00
hash Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
pkey pk_encrypt: Uniformize debugging output 2018-08-23 15:56:03 +01:00
psa Correct and simplify block-based cipher modes 2018-09-20 11:58:22 +02:00
random Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
ssl Merge remote-tracking branch 'public/pr/1918' into development 2018-08-28 12:21:41 +01:00
test UDP proxy: Correct debug output for delay_srv option 2018-08-28 17:52:53 +01:00
util Fix typo in platform macro defines for examples 2018-06-14 23:01:55 +01:00
x509 Fix typos in programs/x509/cert_write.c 2018-08-23 15:26:06 +01:00
.gitignore psa: programs: Add cipher example 2018-09-12 16:50:07 +03:00
CMakeLists.txt psa: programs: Add cipher example 2018-09-12 16:50:07 +03:00
Makefile psa: programs: Add cipher example 2018-09-12 16:50:07 +03:00
wince_main.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00