summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-09-14 07:22:16 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-25 10:48:13 +0300
commit63cdd870ab058e750b7358a979f8baccbbdcfdcc (patch)
tree2c72b7d021cd82a1819df463c0fbcd5bd199e9fc /lib/crypto
parent78cf1c8bfcb81a21347dfa57ce71d475cea9f595 (diff)
downloadlinux-63cdd870ab058e750b7358a979f8baccbbdcfdcc.tar.xz
crypto: inside-secure - Reuse code in safexcel_hmac_alg_setkey
The code in the current implementation of safexcel_hmac_alg_setkey can be reused by safexcel_cipher. This patch does just that by renaming the previous safexcel_hmac_setkey to __safexcel_hmac_setkey. The now-shared safexcel_hmac_alg_setkey becomes safexcel_hmac_setkey and a new safexcel_hmac_alg_setkey has been added for use by ahash transforms. As a result safexcel_aead_setkey's stack frame has been reduced by about half in size, or about 512 bytes. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
0 files changed, 0 insertions, 0 deletions