On Sun, Sep 08, 2019 at 11:04:26AM +0300, Uri Shir wrote:
> In XTS encryption/decryption the plaintext byte size
> can be >= AES_BLOCK_SIZE. This patch enable the AES-XTS ciphertext
> stealing implementation in ccree driver.
>
> Signed-off-by: Uri Shir
> ---
> drivers/crypto/ccree/cc_cipher.c |
On Mon, Sep 09, 2019 at 03:38:02PM +0100, Ard Biesheuvel wrote:
>
> The blocksize is primarily used by the walking code to ensure that the
> input is a round multiple. In the XTS case, we can't blindly use the
> skcipher walk interface to go over the data anyway, since the last
> full block needs s
On Mon, Sep 9, 2019 at 5:38 PM Ard Biesheuvel wrote:
>
> On Mon, 9 Sep 2019 at 13:34, Gilad Ben-Yossef wrote:
> >
> > On Mon, Sep 9, 2019 at 3:20 PM Ard Biesheuvel
> > wrote:
> > >
> > > On Sun, 8 Sep 2019 at 09:04, Uri Shir wrote:
> > > >
> > > > In XTS encryption/decryption the plaintext byt
On Mon, 9 Sep 2019 at 13:34, Gilad Ben-Yossef wrote:
>
> On Mon, Sep 9, 2019 at 3:20 PM Ard Biesheuvel
> wrote:
> >
> > On Sun, 8 Sep 2019 at 09:04, Uri Shir wrote:
> > >
> > > In XTS encryption/decryption the plaintext byte size
> > > can be >= AES_BLOCK_SIZE. This patch enable the AES-XTS cip
On Mon, Sep 9, 2019 at 3:20 PM Ard Biesheuvel wrote:
>
> On Sun, 8 Sep 2019 at 09:04, Uri Shir wrote:
> >
> > In XTS encryption/decryption the plaintext byte size
> > can be >= AES_BLOCK_SIZE. This patch enable the AES-XTS ciphertext
> > stealing implementation in ccree driver.
> >
> > Signed-off
On Sun, 8 Sep 2019 at 09:04, Uri Shir wrote:
>
> In XTS encryption/decryption the plaintext byte size
> can be >= AES_BLOCK_SIZE. This patch enable the AES-XTS ciphertext
> stealing implementation in ccree driver.
>
> Signed-off-by: Uri Shir
> ---
> drivers/crypto/ccree/cc_cipher.c | 16 ++--
On Sun, Sep 8, 2019 at 11:04 AM Uri Shir wrote:
>
> In XTS encryption/decryption the plaintext byte size
> can be >= AES_BLOCK_SIZE. This patch enable the AES-XTS ciphertext
> stealing implementation in ccree driver.
>
> Signed-off-by: Uri Shir
Acked-by: Gilad Ben-Yossef
Gilad