]> bbs.cooldavid.org Git - net-next-2.6.git/commit
gss_krb5: Introduce encryption type framework
authorKevin Coffman <kwc@citi.umich.edu>
Wed, 17 Mar 2010 17:02:46 +0000 (13:02 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 May 2010 19:09:15 +0000 (15:09 -0400)
commit725f2865d4df31ac0768b13ae763beadc4bb8ce9
tree20b2da47713e7f38a61d37cbb2c95ad52c88609f
parent4fc4c3ce0dc1096cbd0daa3fe8f6905cbec2b87e
gss_krb5: Introduce encryption type framework

Make the client and server code consistent regarding the extra buffer
space made available for the auth code when wrapping data.

Add some comments/documentation about the available buffer space
in the xdr_buf head and tail when gss_wrap is called.

Add a compile-time check to make sure we are not exceeding the available
buffer space.

Add a central function to shift head data.

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>
include/linux/sunrpc/gss_krb5.h
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_krb5_wrap.c