summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_krb5_unseal.c
diff options
context:
space:
mode:
authorKevin Coffman2010-03-17 18:03:05 +0100
committerTrond Myklebust2010-05-14 21:09:20 +0200
commit5af46547ec451918f3ba51efe59b317d33adf701 (patch)
tree0878529858a5ded9224e633dd13b431e6b69e28c /net/sunrpc/auth_gss/gss_krb5_unseal.c
parentgssd_krb5: More arcfour-hmac support (diff)
downloadkernel-qcow2-linux-5af46547ec451918f3ba51efe59b317d33adf701.tar.gz
kernel-qcow2-linux-5af46547ec451918f3ba51efe59b317d33adf701.tar.xz
kernel-qcow2-linux-5af46547ec451918f3ba51efe59b317d33adf701.zip
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 <kwc@citi.umich.edu> Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_unseal.c')
0 files changed, 0 insertions, 0 deletions