X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=crypto%2Feseqiv.c;h=881d30910434831f528f5be244ab502bd984d0b6;hb=2aeb203414edf734ee7e955f80672d5de64bcbc9;hp=6f2cd063b6fef51e636cd5f55aef02902b800aea;hpb=bb799dcadd60796ab13d32a698d92bfb92ce0d5c;p=linux-2.6-omap-h63xx.git diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c index 6f2cd063b6f..881d3091043 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); @@ -251,10 +252,8 @@ int __init eseqiv_module_init(void) { return crypto_register_template(&eseqiv_tmpl); } -EXPORT_SYMBOL_GPL(eseqiv_module_init); void __exit eseqiv_module_exit(void) { crypto_unregister_template(&eseqiv_tmpl); } -EXPORT_SYMBOL_GPL(eseqiv_module_exit);