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
..
2018-06-13 12:03:27 +01:00
2018-01-23 15:44:39 +00:00
2018-04-01 15:12:46 +03:00
2018-05-24 19:02:06 +02:00
2018-03-13 17:18:06 +01:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-03-21 16:28:41 +01:00
2018-05-24 19:02:06 +02:00
2018-05-25 08:02:18 -04:00
2018-05-24 19:02:06 +02:00
2018-05-30 13:57:29 +01:00
2018-01-23 15:44:39 +00:00
2018-06-11 13:10:14 +01:00
2018-06-11 14:03:22 +01:00
2018-06-11 14:03:22 +01:00
2018-04-19 21:02:40 +02:00
2018-01-23 15:44:39 +00:00
2018-06-13 12:03:27 +01:00
2018-04-16 14:51:52 +01:00
2018-01-23 15:44:39 +00:00
2018-04-16 17:40:04 +03:00
2018-05-15 09:21:57 +01:00
2018-05-15 09:21:57 +01:00
2018-04-23 06:16:40 +01:00
2018-04-01 15:12:46 +03:00
2018-05-15 09:21:57 +01:00
2018-04-27 18:20:31 +01:00
2018-01-23 15:44:39 +00:00
2018-05-15 09:21:57 +01:00
2018-06-12 16:53:04 +01:00
2018-06-07 14:47:38 +02:00
2018-06-13 12:01:50 +01:00
2018-01-23 15:44:39 +00:00
2018-06-11 13:10:14 +01:00
2018-01-23 15:44:39 +00:00
2018-04-01 15:12:46 +03:00
2018-04-01 15:12:46 +03:00
2018-04-01 15:12:46 +03:00
2018-01-25 14:47:39 +00:00
2018-04-16 16:31:16 +01:00
2018-01-23 15:44:39 +00:00
2018-04-04 10:33:45 +02:00
2018-01-23 15:44:39 +00:00
2018-02-08 17:18:15 +08:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-03-30 18:43:16 +02:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-04-24 08:37:52 -05:00
2018-05-15 09:21:57 +01:00
2018-04-01 15:12:46 +03:00
2018-04-04 09:19:27 +02:00
2018-05-15 09:21:57 +01:00
2018-05-15 09:21:57 +01:00
2018-04-19 21:02:40 +02:00
2018-04-19 21:02:40 +02:00
2018-01-23 15:44:39 +00:00
2018-05-15 09:21:57 +01:00
2018-01-23 15:44:39 +00:00
2018-05-25 14:54:14 +01:00
2018-01-23 15:44:39 +00:00
2018-06-05 10:25:04 +01:00
2018-03-21 15:01:55 +00:00
2018-04-01 15:59:58 +03:00
2018-06-06 14:52:00 +01:00
2018-01-23 15:44:39 +00:00
2018-03-05 11:55:38 +01:00
2018-01-23 15:44:39 +00:00
2018-01-23 15:44:39 +00:00
2018-04-01 15:12:46 +03:00