diff options
author | Eric Biggers <ebiggers@google.com> | 2020-01-02 20:04:37 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 11:30:57 +0800 |
commit | 758ec5ac5be8923b92c5214d91f6ba1236b95356 (patch) | |
tree | e3199f9e10767c5556212e3546c0c009aa3b6f13 /crypto/xcbc.c | |
parent | 0f8f6d86d415f9d88dc0f7847f11d0c52dba1965 (diff) |
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 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions