Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment