diff options
author | Eric Biggers <ebiggers@google.com> | 2020-01-03 07:04:37 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 06:30:57 +0300 |
commit | 758ec5ac5be8923b92c5214d91f6ba1236b95356 (patch) | |
tree | e3199f9e10767c5556212e3546c0c009aa3b6f13 /include/crypto/internal | |
parent | 0f8f6d86d415f9d88dc0f7847f11d0c52dba1965 (diff) | |
download | linux-758ec5ac5be8923b92c5214d91f6ba1236b95356.tar.xz |
crypto: cryptd - convert to new way of freeing instances
Convert the "cryptd" template to the new way of freeing instances, where
a ->free() method is installed to the instance struct itself. This
replaces the weakly-typed method crypto_template::free().
This will allow removing support for the old way of freeing instances.
Note that the 'default' case in cryptd_free() was already unreachable.
So, we aren't missing anything by keeping only the ahash and aead parts.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/internal')
0 files changed, 0 insertions, 0 deletions