diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-29 10:03:59 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-01 15:45:06 (GMT) |
commit | 02fa472afef2f619a16eb24117b90f9e7998c65f (patch) | |
tree | 9943cff8ef944f150a27d133b2f89390e54a679f /drivers/crypto | |
parent | 7166e589da5b681e1f8ff2d1c491d7d71e9f7671 (diff) | |
download | linux-02fa472afef2f619a16eb24117b90f9e7998c65f.tar.xz |
crypto: aesni - Use crypto_cipher to derive rfc4106 subkey
Currently aesni uses an async ctr(aes) to derive the rfc4106
subkey, which was presumably copied over from the generic rfc4106
code. Over there it's done that way because we already have a
ctr(aes) spawn. But it is simply overkill for aesni since we
have to go get a ctr(aes) from scratch anyway.
This patch simplifies the subkey derivation by using a straight
aes cipher instead.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions