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 | 1c7296029cbf6d99480a00965604da7e607467e4 (patch) | |
tree | 592318a580ac357f8b3ecf83195a94d85bb9be48 /crypto/cmac.c | |
parent | 0e21969f566023ce3afcf3a73edbb8960be9fa54 (diff) | |
download | linux-crypto-1c7296029cbf6d99480a00965604da7e607467e4.tar.gz linux-crypto-1c7296029cbf6d99480a00965604da7e607467e4.zip |
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/cmac.c')
0 files changed, 0 insertions, 0 deletions