]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccm - drop unnecessary minimum 32-bit alignment
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 11 Feb 2017 19:25:22 +0000 (19:25 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Feb 2017 05:23:46 +0000 (13:23 +0800)
commit5ba8e2a05ed6695f38f3961ca8cb5cfc1063a842
treeb23b9675dd7f7e59e02d11c653f37379f29b4bdc
parent5338ad7065c0a4cb55e949638b1fdba6b09dc5a2
crypto: ccm - drop unnecessary minimum 32-bit alignment

The CCM driver forces 32-bit alignment even if the underlying ciphers
don't care about alignment. This is because crypto_xor() used to require
this, but since this is no longer the case, drop the hardcoded minimum
of 32 bits.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ccm.c