diff options
author | Eric Biggers <ebiggers@google.com> | 2020-01-03 05:04:38 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 04:30:57 +0100 |
commit | a39c66cc2f6108c8346dc882bdcf72861aaca956 (patch) | |
tree | 5032d5672d0e339c92cd992f8e70d7638fce140f /include/crypto/aead.h | |
parent | crypto: cryptd - convert to new way of freeing instances (diff) | |
download | linux-a39c66cc2f6108c8346dc882bdcf72861aaca956.tar.xz linux-a39c66cc2f6108c8346dc882bdcf72861aaca956.zip |
crypto: shash - convert shash_free_instance() to new style
Convert shash_free_instance() and its users 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.
Also give shash_free_instance() a more descriptive name to reflect that
it's only for instances with a single spawn, not for any instance.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/aead.h')
0 files changed, 0 insertions, 0 deletions