diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-10 20:45:58 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 11:24:59 +0100 |
commit | 00c9fe37a7f27a306bcaa5737f0787fe139f8aba (patch) | |
tree | 879de5aacf4fef53cf165e1ad1769eff3ced4b79 /crypto/echainiv.c | |
parent | crypto: user - support incremental algorithm dumps (diff) | |
download | linux-00c9fe37a7f27a306bcaa5737f0787fe139f8aba.tar.xz linux-00c9fe37a7f27a306bcaa5737f0787fe139f8aba.zip |
crypto: adiantum - fix leaking reference to hash algorithm
crypto_alg_mod_lookup() takes a reference to the hash algorithm but
crypto_init_shash_spawn() doesn't take ownership of it, hence the
reference needs to be dropped in adiantum_create().
Fixes: 059c2a4d8e16 ("crypto: adiantum - add Adiantum support")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/echainiv.c')
0 files changed, 0 insertions, 0 deletions