aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2010-03-17 13:03:04 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-05-14 15:09:20 -0400
commit1dbd9029f3024d058da1cf6c6658c28aac2e4e1c (patch)
treeeb407d31f61ea8a14be6bb04aa09ed8980920025 /include
parentfc263a917afad3bda7b823a6edc803a40e7f6015 (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.h5
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
277s32 277s32
278krb5_make_seq_num(struct crypto_blkcipher *key, 278krb5_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
282s32 283s32
283krb5_get_seq_num(struct crypto_blkcipher *key, 284krb5_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