diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2010-03-17 13:03:04 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:20 -0400 |
commit | 1dbd9029f3024d058da1cf6c6658c28aac2e4e1c (patch) | |
tree | eb407d31f61ea8a14be6bb04aa09ed8980920025 /include | |
parent | fc263a917afad3bda7b823a6edc803a40e7f6015 (diff) |
gssd_krb5: More arcfour-hmac support
For the arcfour-hmac support, the make_seq_num and get_seq_num
functions need access to the kerberos context structure.
This will be used in a later patch.
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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index b0ab827add26..d840856edecc 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h | |||
@@ -275,12 +275,13 @@ gss_decrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *inbuf, | |||
275 | int offset); | 275 | int offset); |
276 | 276 | ||
277 | s32 | 277 | s32 |
278 | krb5_make_seq_num(struct crypto_blkcipher *key, | 278 | krb5_make_seq_num(struct krb5_ctx *kctx, |
279 | struct crypto_blkcipher *key, | ||
279 | int direction, | 280 | int direction, |
280 | u32 seqnum, unsigned char *cksum, unsigned char *buf); | 281 | u32 seqnum, unsigned char *cksum, unsigned char *buf); |
281 | 282 | ||
282 | s32 | 283 | s32 |
283 | krb5_get_seq_num(struct crypto_blkcipher *key, | 284 | krb5_get_seq_num(struct krb5_ctx *kctx, |
284 | unsigned char *cksum, | 285 | unsigned char *cksum, |
285 | unsigned char *buf, int *direction, u32 *seqnum); | 286 | unsigned char *buf, int *direction, u32 *seqnum); |
286 | 287 | ||