aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorTushar Gohad <[email protected]>2011-07-28 10:36:20 +0000
committerDavid S. Miller <[email protected]>2011-07-29 01:10:48 +0000
commit4203223a1aed862b4445fdcd260d6139603a51d9 (patch)
tree1fd4906acba67bcc2c2be204af51996fdfbbb2ab /security/selinux/hooks.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (diff)
downloadkernel-4203223a1aed862b4445fdcd260d6139603a51d9.tar.gz
kernel-4203223a1aed862b4445fdcd260d6139603a51d9.zip
xfrm: Fix key lengths for rfc3686(ctr(aes))
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 <[email protected]> Acked-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions