Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.25.3-rc1 /crypto/eseqiv.c

Filename:/crypto/eseqiv.c
Lines Added:2
Lines Deleted:1
Also changed in: (Previous) 2.6.25-git20  2.6.25-git19  2.6.25-git18  2.6.25  2.6.25-rc9  2.6.25-rc8 
(Following) 2.6.25.3  2.6.25.4  2.6.25.5  2.6.25.6  2.6.25.7  2.6.25.8 

Location
[  2.6.25.3-rc1
  [  crypto
     o  eseqiv.c

Patch

diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c
index b14f14e..881d309 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);
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.