X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fctr.c;h=2d7425f0e7b816d9c236aae7bc635ab8f9145888;hb=bc9c4068388eea01d3b5da31016879f2341ecec5;hp=1052b318aed2b7c45b28981c80ade33378d58a22;hpb=5311f248b7764ba8b59e6d477355f766e5609686;p=linux-2.6-omap-h63xx.git diff --git a/crypto/ctr.c b/crypto/ctr.c index 1052b318aed..2d7425f0e7b 100644 --- a/crypto/ctr.c +++ b/crypto/ctr.c @@ -361,6 +361,8 @@ static struct crypto_instance *crypto_rfc3686_alloc(struct rtattr **tb) inst->alg.cra_blkcipher.max_keysize = alg->cra_blkcipher.max_keysize + CTR_RFC3686_NONCE_SIZE; + inst->alg.cra_blkcipher.geniv = "seqiv"; + inst->alg.cra_ctxsize = sizeof(struct crypto_rfc3686_ctx); inst->alg.cra_init = crypto_rfc3686_init_tfm;