diff options
author | Андрей Мозжухин <amozzhuhin@yandex.ru> | 2018-01-03 15:43:56 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-29 12:50:13 -0500 |
commit | af09eba64f808946c6c901436e7dfabd17a11498 (patch) | |
tree | 69ae8dbb79cbea7643ff143d57de39a1f7046d95 /Documentation/devicetree | |
parent | 1414e09b4f25f2ad5886f124024e10878feb75f0 (diff) |
aes: Allow non-zero initialization vector
AES encryption in CBC mode, in most cases, must be used with random
initialization vector. Using the same key and initialization vector several
times is weak and must be avoided.
Added iv parameter to the aes_cbc_encrypt_blocks and aes_cbc_decrypt_blocks
functions for passing initialization vector.
Command 'aes' now also require the initialization vector parameter.
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions