diff options
author | Stephan Mueller <smueller@chronox.de> | 2017-10-03 04:19:59 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-10-12 22:55:06 +0800 |
commit | c0bf056e88a1e1e559159aef68d373b221bc1777 (patch) | |
tree | 1d46c714f22d9adc4aee56c1bb6ae53873b76e06 /crypto/skcipher.c | |
parent | 42b792b9a8e523e82c13996149f527a4b27436c4 (diff) | |
download | linux-crypto-c0bf056e88a1e1e559159aef68d373b221bc1777.tar.gz linux-crypto-c0bf056e88a1e1e559159aef68d373b221bc1777.zip |
crypto: keywrap - simplify code
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@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/skcipher.c')
0 files changed, 0 insertions, 0 deletions