From 5f29ce448016814d009f2ef036b28ef4fb4924d4 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 10 Dec 2007 10:54:44 +0800 Subject: [PATCH] --- yaml --- r: 75955 b: refs/heads/master c: c2c61f513db395ddd8d67690bf3301ebe1e8155a h: refs/heads/master i: 75953: 372214c3a6ceddab35036673edfe07777b279c61 75951: 758c65fa21b860cb934c5e73300d82952124fbe6 v: v3 --- [refs] | 2 +- trunk/crypto/authenc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 02dfca8275f4..63c56f99e332 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2d74d405fc5ea78b20a4a2efd24201db424e07b1 +refs/heads/master: c2c61f513db395ddd8d67690bf3301ebe1e8155a diff --git a/trunk/crypto/authenc.c b/trunk/crypto/authenc.c index fbbc2b505a21..80d9d0b18c13 100644 --- a/trunk/crypto/authenc.c +++ b/trunk/crypto/authenc.c @@ -333,7 +333,7 @@ static struct crypto_instance *crypto_authenc_alloc(struct rtattr **tb) inst->alg.cra_alignmask = auth->cra_alignmask | enc->cra_alignmask; inst->alg.cra_type = &crypto_aead_type; - inst->alg.cra_aead.ivsize = enc->cra_blkcipher.ivsize; + inst->alg.cra_aead.ivsize = enc->cra_ablkcipher.ivsize; inst->alg.cra_aead.maxauthsize = auth->cra_type == &crypto_hash_type ? auth->cra_hash.digestsize : auth->cra_digest.dia_digestsize;