Re: [PATCH v2] crypto: keywrap - simplify code

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

 



On Tue, Oct 03, 2017 at 04:19:59AM +0200, Stephan Müller wrote:
> Hi Herbert,
> 
> Changes v2:
> * use __be64 for A and R variables
> * eliminate tbe variable
> * use initial IV value with cpu_to_be64 when accessing variable A
> 
> ---8<---
> 
> The code is simplified by using two __be64 values for the operation
> instead of using two arrays of u8. This allows to get rid of the memory
> alignment code. In addition, the crypto_xor can be replaced with a
> native XOR operation. Finally, the definition of the variables is
> re-arranged such that the data structures come before simple variables
> to potentially reduce memory space.
> 
> Signed-off-by: Stephan Mueller <smueller@xxxxxxxxxx>

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