mbedtls/tests
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
..
data_files Merge remote-tracking branch 'upstream-public/pr/1379' into development-proposed 2018-03-29 10:57:57 +01:00
git-scripts Add check-files.py to pre-push.sh 2018-05-21 11:41:18 +01:00
scripts Merge remote-tracking branch 'public/pr/1267' into development 2018-06-01 19:28:18 +01:00
suites Implement AES-XTS mode 2018-06-13 12:03:27 +01:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Implement AES-XTS mode 2018-06-13 12:03:27 +01:00
compat.sh Merge branch 'development' into iotssl-1941-aria-ciphersuites 2018-05-22 15:58:50 +02:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Merge remote-tracking branch 'public/pr/1497' into development 2018-06-12 16:53:04 +01:00
ssl-opt.sh Merge branch 'pr_946' into development-proposed 2018-04-04 10:33:45 +02:00