diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2010-03-17 13:03:02 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:19 -0400 |
commit | 8b23707612cffdba694dcd18aa8a018918aa86dc (patch) | |
tree | 3dd484658768c0a710b252a674c697124380b223 /include | |
parent | bf6d359c508cf83401c942262a9749752598394d (diff) |
gssd_krb5: arcfour-hmac support
For arcfour-hmac support, the make_checksum function needs a usage
field to correctly calculate the checksum differently for MIC and
WRAP tokens.
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')
-rw-r--r-- | include/linux/sunrpc/gss_krb5.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index 43148ec9a46c..633f41f11a40 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h | |||
@@ -235,12 +235,12 @@ enum seal_alg { | |||
235 | u32 | 235 | u32 |
236 | make_checksum(struct krb5_ctx *kctx, char *header, int hdrlen, | 236 | make_checksum(struct krb5_ctx *kctx, char *header, int hdrlen, |
237 | struct xdr_buf *body, int body_offset, u8 *cksumkey, | 237 | struct xdr_buf *body, int body_offset, u8 *cksumkey, |
238 | struct xdr_netobj *cksumout); | 238 | unsigned int usage, struct xdr_netobj *cksumout); |
239 | 239 | ||
240 | u32 | 240 | u32 |
241 | make_checksum_v2(struct krb5_ctx *, char *header, int hdrlen, | 241 | make_checksum_v2(struct krb5_ctx *, char *header, int hdrlen, |
242 | struct xdr_buf *body, int body_offset, u8 *key, | 242 | struct xdr_buf *body, int body_offset, u8 *key, |
243 | struct xdr_netobj *cksum); | 243 | unsigned int usage, struct xdr_netobj *cksum); |
244 | 244 | ||
245 | u32 gss_get_mic_kerberos(struct gss_ctx *, struct xdr_buf *, | 245 | u32 gss_get_mic_kerberos(struct gss_ctx *, struct xdr_buf *, |
246 | struct xdr_netobj *); | 246 | struct xdr_netobj *); |