X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=crypto%2Feseqiv.c;h=881d30910434831f528f5be244ab502bd984d0b6;hb=bac0c9103b31c3dd83ad9d731dd9834e2ba75e4f;hp=6f2cd063b6fef51e636cd5f55aef02902b800aea;hpb=ce4796d1e16cf3761dc2a02b8d588667d05b3078;p=firefly-linux-kernel-4.4.55.git diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c index 6f2cd063b6fe..881d30910434 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);