Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 25cdbcd9 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] crc32c: Fix unconventional setkey usage


The convention for setkey is that once it is set it should not change,
in particular, init must not wipe out the key set by it.  In fact, init
should always be used after setkey before any digestion is performed.

The only user of crc32c that sets the key is tcrypt.  This patch adds
the necessary init calls there.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 58ec4152
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment