X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Feseqiv.c;h=881d30910434831f528f5be244ab502bd984d0b6;hb=4b1fefaca9f5fdd43b24aa248777a75a81dfa8d6;hp=b14f14e314b6cf3ada4bc0694aa9f5f364ab73e7;hpb=6f58d79598c184dc4f18ceddfaa5fa7483bce0a5;p=linux-2.6 diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c index b14f14e314..881d309104 100644 --- a/crypto/eseqiv.c +++ b/crypto/eseqiv.c @@ -136,7 +136,8 @@ static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) } ablkcipher_request_set_crypt(subreq, reqctx->src, dst, - req->creq.nbytes, req->creq.info); + req->creq.nbytes + ivsize, + req->creq.info); memcpy(req->creq.info, ctx->salt, ivsize);