diff options
author | Eric Biggers <ebiggers@google.com> | 2019-06-03 07:45:51 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-06-13 08:31:40 +0200 |
commit | 81bcbb1ee75d44f270a2905ea09c8a5861cf0086 (patch) | |
tree | b13f81e5da5f4f2eee5e2f3bb0c10e91ca9be6fe /arch | |
parent | crypto: aead - un-inline encrypt and decrypt functions (diff) | |
download | linux-81bcbb1ee75d44f270a2905ea09c8a5861cf0086.tar.xz linux-81bcbb1ee75d44f270a2905ea09c8a5861cf0086.zip |
crypto: skcipher - un-inline encrypt and decrypt functions
crypto_skcipher_encrypt() and crypto_skcipher_decrypt() have grown to be
more than a single indirect function call. They now also check whether
a key has been set, and with CONFIG_CRYPTO_STATS=y they also update the
crypto statistics. That can add up to a lot of bloat at every call
site. Moreover, these always involve a function call anyway, which
greatly limits the benefits of inlining.
So change them to be non-inline.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions