summaryrefslogtreecommitdiffstats
path: root/crypto/ecrdsa_pub_key.asn1
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-06-03 07:45:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-06-13 08:31:40 +0200
commitf2fe1154542e69976f859e573dc4d9aa0b76a495 (patch)
tree6d6e6fe0d9e32d62712bc1d1e7725bfbaa50d7c4 /crypto/ecrdsa_pub_key.asn1
parentcrypto: x86/aesni - remove unused internal cipher algorithm (diff)
downloadlinux-f2fe1154542e69976f859e573dc4d9aa0b76a495.tar.xz
linux-f2fe1154542e69976f859e573dc4d9aa0b76a495.zip
crypto: aead - un-inline encrypt and decrypt functions
crypto_aead_encrypt() and crypto_aead_decrypt() have grown to be more than a single indirect function call. They now also check whether a key has been set, the decryption side checks whether the input is at least as long as the authentication tag length, 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 'crypto/ecrdsa_pub_key.asn1')
0 files changed, 0 insertions, 0 deletions