Commit ce5bd4aca3c467936370846119b7f3daf9ccea78

Authored by Herbert Xu
1 parent 3631c650c4

[CRYPTO] null: Allow setkey on digest_null

We need to allow setkey on digest_null if it is to be used directly by
authenc instead of through hmac.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

crypto/crypto_null.c
... ... @@ -98,6 +98,7 @@
98 98 .cra_list = LIST_HEAD_INIT(digest_null.cra_list),
99 99 .cra_u = { .digest = {
100 100 .dia_digestsize = NULL_DIGEST_SIZE,
  101 + .dia_setkey = null_setkey,
101 102 .dia_init = null_init,
102 103 .dia_update = null_update,
103 104 .dia_final = null_final } }