diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2010-03-17 13:03:06 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:20 -0400 |
commit | fffdaef2eb4a7333952e55cf97f1fc0fcc35f981 (patch) | |
tree | bd4e4b39ec901feb27b91d33d4f52e723f3584d7 /include/linux/sunrpc | |
parent | 5af46547ec451918f3ba51efe59b317d33adf701 (diff) |
gss_krb5: Add support for rc4-hmac encryption
Add necessary changes to add kernel support for the rc4-hmac Kerberos
encryption type used by Microsoft and described in rfc4757.
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')
-rw-r--r-- | include/linux/sunrpc/gss_krb5.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index 79f6ac2492f5..5e774a5abf2c 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h | |||
@@ -317,5 +317,14 @@ gss_krb5_aes_decrypt(struct krb5_ctx *kctx, u32 offset, | |||
317 | struct xdr_buf *buf, u32 *plainoffset, | 317 | struct xdr_buf *buf, u32 *plainoffset, |
318 | u32 *plainlen); | 318 | u32 *plainlen); |
319 | 319 | ||
320 | int | ||
321 | krb5_rc4_setup_seq_key(struct krb5_ctx *kctx, | ||
322 | struct crypto_blkcipher *cipher, | ||
323 | unsigned char *cksum); | ||
324 | |||
325 | int | ||
326 | krb5_rc4_setup_enc_key(struct krb5_ctx *kctx, | ||
327 | struct crypto_blkcipher *cipher, | ||
328 | s32 seqnum); | ||
320 | void | 329 | void |
321 | gss_krb5_make_confounder(char *p, u32 conflen); | 330 | gss_krb5_make_confounder(char *p, u32 conflen); |