diff options
author | Eric Biggers <ebiggers@google.com> | 2020-01-02 20:04:35 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 11:30:57 +0800 |
commit | c2515d57afc37b73dbdec2417cd2fbbcf2e34c2b (patch) | |
tree | 3970d1c0bb6e69854e2ae0c8e047dd0199ceb861 /crypto/algif_hash.c | |
parent | 484d53bfd14474c3b710f9d251616228f02b12cd (diff) | |
download | linux-crypto-c2515d57afc37b73dbdec2417cd2fbbcf2e34c2b.tar.gz linux-crypto-c2515d57afc37b73dbdec2417cd2fbbcf2e34c2b.zip |
crypto: hash - add support for new way of freeing instances
Add support to shash and ahash for the new way of freeing instances
(already used for skcipher, aead, and akcipher) where a ->free() method
is installed to the instance struct itself. These methods are more
strongly-typed than crypto_template::free(), which they replace.
This will allow removing support for the old way of freeing instances.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions