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

2017-10-12 Thread Herbert Xu
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

[PATCH v2] crypto: keywrap - simplify code

2017-10-02 Thread Stephan Müller
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 memo