X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=crypto%2Fctr.c;h=2d7425f0e7b816d9c236aae7bc635ab8f9145888;hp=1052b318aed2b7c45b28981c80ade33378d58a22;hb=76a67ec6fb79ff3570dcb5342142c16098299911;hpb=5311f248b7764ba8b59e6d477355f766e5609686 diff --git a/crypto/ctr.c b/crypto/ctr.c index 1052b31..2d7425f 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;