30 Jan, 2018

1 commit

  • 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

    Андрей Мозжухин
     

13 Apr, 2017

1 commit