Re: [PATCH] xfrm: Fix key lengths for rfc3686(ctr(aes))
From: David Miller <davem@davemloft.net>
Date: 2011-07-29 01:27:58
From: David Miller <davem@davemloft.net>
Date: 2011-07-29 01:27:58
From: Tushar Gohad <redacted> Date: Thu, 28 Jul 2011 13:36:20 -0700 (MST)
Fix the min and max bit lengths for AES-CTR (RFC3686) keys. The number of bits in key spec is the key length (128/256) plus 32 bits of nonce. This change takes care of the "Invalid key length" errors reported by setkey when specifying 288 bit keys for aes-ctr. Signed-off-by: Tushar Gohad <redacted>
APplied.