Re: [PATCH v2] crypto: x86/xts - implement support for ciphertext stealing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 16, 2019 at 03:21:50PM +0300, Ard Biesheuvel wrote:
> Align the x86 code with the generic XTS template, which now supports
> ciphertext stealing as described by the IEEE XTS-AES spec P1619.
> 
> Tested-by: Stephan Mueller <smueller@xxxxxxxxxx>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
> ---
> v2: - move 'decrypt' flag from glue ctx struct to function prototype
>     - remove redundant goto
>     - make 'final_tweak' a pointer
>     - fix typo in subject
> 
>  arch/x86/crypto/aesni-intel_glue.c         |  6 +-
>  arch/x86/crypto/camellia_aesni_avx2_glue.c |  4 +-
>  arch/x86/crypto/camellia_aesni_avx_glue.c  |  4 +-
>  arch/x86/crypto/cast6_avx_glue.c           |  4 +-
>  arch/x86/crypto/glue_helper.c              | 67 +++++++++++++++++++-
>  arch/x86/crypto/serpent_avx2_glue.c        |  4 +-
>  arch/x86/crypto/serpent_avx_glue.c         |  4 +-
>  arch/x86/crypto/twofish_avx_glue.c         |  4 +-
>  arch/x86/include/asm/crypto/glue_helper.h  |  2 +-
>  9 files changed, 81 insertions(+), 18 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux