diff --git a/crypto/ctr.c b/crypto/ctr.c index 2d7425f0e7b816d9c236aae7bc635ab8f9145888..6c3bfabb9d1d1b7a54a675373b66d46b70310e32 100644 --- a/crypto/ctr.c +++ b/crypto/ctr.c @@ -219,6 +219,8 @@ static struct crypto_instance *crypto_ctr_alloc(struct rtattr **tb) inst->alg.cra_blkcipher.encrypt = crypto_ctr_crypt; inst->alg.cra_blkcipher.decrypt = crypto_ctr_crypt; + inst->alg.cra_blkcipher.geniv = "chainiv"; + out: crypto_mod_put(alg); return inst;