summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2016-11-22 15:44:06 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-11-28 21:23:22 +0800
commit4cbe79ccb5233c52b291d53200e75f8db19c6a14 (patch)
treeebb04a7fdf2e6d6accbdc8f3a8eacd180100493a /init
parent488ebc3a41260d62b24c18271356abc1f3ffdb63 (diff)
downloadlinux-stable-4cbe79ccb5233c52b291d53200e75f8db19c6a14.tar.gz
linux-stable-4cbe79ccb5233c52b291d53200e75f8db19c6a14.tar.bz2
linux-stable-4cbe79ccb5233c52b291d53200e75f8db19c6a14.zip
crypto: caam - improve key inlining
For authenc / stitched AEAD algorithms, check independently each of the two (authentication, encryption) keys whether inlining is possible. Prioritize the inlining of the authentication key, since the length of the (split) key is bigger than that of the encryption key. For the other algorithms, compute only once per tfm the remaining available bytes and decide whether key inlining is possible based on this. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions