X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fanubis.c;h=1c771f7f4dc5ee355d2f6d84ac6c76a547591fd8;hb=d5112a4f31a361409d3c57dc9d58dd69f8014bef;hp=7e2e1a29800e372e618d3592802e6294a76dade5;hpb=6c2bb98bc33ae33c7a33a133a4cd5a06395fece5;p=linux-2.6 diff --git a/crypto/anubis.c b/crypto/anubis.c index 7e2e1a2980..1c771f7f4d 100644 --- a/crypto/anubis.c +++ b/crypto/anubis.c @@ -461,10 +461,11 @@ static const u32 rc[] = { }; static int anubis_setkey(struct crypto_tfm *tfm, const u8 *in_key, - unsigned int key_len, u32 *flags) + unsigned int key_len) { struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); const __be32 *key = (const __be32 *)in_key; + u32 *flags = &tfm->crt_flags; int N, R, i, r; u32 kappa[ANUBIS_MAX_N]; u32 inter[ANUBIS_MAX_N];