mbedtls/programs
Aorimn 5f77801ac3 Implement AES-XTS mode
XTS mode is fully known as "xor-encrypt-xor with ciphertext-stealing".
This is the generalization of the XEX mode.
This implementation is limited to an 8-bits (1 byte) boundary, which
doesn't seem to be what was thought considering some test vectors [1].

This commit comes with tests, extracted from [1], and benchmarks.
Although, benchmarks aren't really nice here, as they work with a buffer
of a multiple of 16 bytes, which isn't a challenge for XTS compared to
XEX.

[1] http://csrc.nist.gov/groups/STM/cavp/documents/aes/XTSTestVectors.zip
2018-06-13 12:03:27 +01:00
..
aes Correct comment 2017-07-28 22:28:08 +01:00
hash New MD API: rename functions from _ext to _ret 2018-01-22 11:54:42 +01:00
pkey Merge remote-tracking branch 'upstream-public/pr/1142' into development-proposed 2018-04-04 09:20:59 +02:00
random
ssl Fix minor code style issues 2018-05-15 09:21:57 +01:00
test Implement AES-XTS mode 2018-06-13 12:03:27 +01:00
util
x509 Merge remote-tracking branch 'public/pr/795' into development 2018-06-12 16:55:47 +01:00
.gitignore Add programs/test/zeroize.c to test mbedtls_zeroize 2018-04-17 09:17:38 -05:00
CMakeLists.txt
Makefile Fix alignment of Makefiles 2018-04-17 09:17:38 -05:00
wince_main.c