Pascal Brand adc54d08d0 Enable multiple XTS encryption or decryption
multiple xts_encrypt() cannot be performed because the
tweak is not updated. That means that
  xts_encrypt(buffer1, tweak)
  xts_encrypt(buffer2, tweak)
is not the same as
  xts_encrypt(concat(buffer1, buffer2), tweak)

Current patch enables such functionalities by
updating the tweak as output of the encryption.
Note that the tweak is no more constant.

The very same modification is performed
on xts_decrypt()

Signed-off-by: Pascal Brand <pascal.brand@st.com>
2014-09-28 22:55:02 +02:00
..
2014-02-16 18:41:28 +01:00
2010-06-16 12:39:13 +02:00
2014-02-16 18:41:28 +01:00
2010-06-16 12:39:13 +02:00
2014-02-16 18:41:28 +01:00
2014-07-17 10:50:36 +02:00
2010-06-16 12:39:13 +02:00