diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2010-03-17 13:02:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:15 -0400 |
commit | 1ac3719a2214c545c7e19d34e272a148ca9a24f1 (patch) | |
tree | ae1a3f88f85aad50c03cd0960b3fbc392561c673 /include/linux/sunrpc/gss_krb5.h | |
parent | 54ec3d462f3c2a3fe48a7bd592160bee31360087 (diff) |
gss_krb5: split up functions in preparation of adding new enctypes
Add encryption type to the krb5 context structure and use it to switch
to the correct functions depending on the encryption type.
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 'include/linux/sunrpc/gss_krb5.h')
-rw-r--r-- | include/linux/sunrpc/gss_krb5.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index 31bb8a538bf1..5378e455482c 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h | |||
@@ -48,6 +48,7 @@ | |||
48 | 48 | ||
49 | struct krb5_ctx { | 49 | struct krb5_ctx { |
50 | int initiate; /* 1 = initiating, 0 = accepting */ | 50 | int initiate; /* 1 = initiating, 0 = accepting */ |
51 | u32 enctype; | ||
51 | struct crypto_blkcipher *enc; | 52 | struct crypto_blkcipher *enc; |
52 | struct crypto_blkcipher *seq; | 53 | struct crypto_blkcipher *seq; |
53 | s32 endtime; | 54 | s32 endtime; |