From: Kevin Coffman Date: Wed, 17 Mar 2010 17:03:05 +0000 (-0400) Subject: gss_krb5: Use confounder length in wrap code X-Git-Tag: v2.6.35-rc1~490^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af46547ec451918f3ba51efe59b317d33adf701;p=pandora-kernel.git gss_krb5: Use confounder length in wrap code All encryption types use a confounder at the beginning of the wrap token. In all encryption types except arcfour-hmac, the confounder is the same as the blocksize. arcfour-hmac has a blocksize of one, but uses an eight byte confounder. Add an entry to the crypto framework definitions for the confounder length and change the wrap/unwrap code to use the confounder length rather than assuming it is always the blocksize. Signed-off-by: Kevin Coffman Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed