diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2005-10-13 16:55:08 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-19 02:19:45 -0400 |
commit | bfa91516b57483fc9c81d8d90325fd2c3c16ac48 (patch) | |
tree | ed5c63ec1aa88152b0991370f4a1dbcfff0cd15a /include/linux/sunrpc | |
parent | f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 (diff) |
RPCSEC_GSS: krb5 pre-privacy cleanup
The code this was originally derived from processed wrap and mic tokens using
the same functions. This required some contortions, and more would be required
with the addition of xdr_buf's, so it's better to separate out the two code
paths.
In preparation for adding privacy support, remove the last vestiges of the
old wrap token code.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/gss_krb5.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index ffe31d2eb9ec..cb35833e2ae3 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h | |||
@@ -121,13 +121,12 @@ make_checksum(s32 cksumtype, char *header, int hdrlen, struct xdr_buf *body, | |||
121 | u32 | 121 | u32 |
122 | krb5_make_token(struct krb5_ctx *context_handle, int qop_req, | 122 | krb5_make_token(struct krb5_ctx *context_handle, int qop_req, |
123 | struct xdr_buf *input_message_buffer, | 123 | struct xdr_buf *input_message_buffer, |
124 | struct xdr_netobj *output_message_buffer, int toktype); | 124 | struct xdr_netobj *output_message_buffer); |
125 | 125 | ||
126 | u32 | 126 | u32 |
127 | krb5_read_token(struct krb5_ctx *context_handle, | 127 | krb5_read_token(struct krb5_ctx *context_handle, |
128 | struct xdr_netobj *input_token_buffer, | 128 | struct xdr_netobj *input_token_buffer, |
129 | struct xdr_buf *message_buffer, | 129 | struct xdr_buf *message_buffer, int *qop_state); |
130 | int *qop_state, int toktype); | ||
131 | 130 | ||
132 | u32 | 131 | u32 |
133 | krb5_encrypt(struct crypto_tfm * key, | 132 | krb5_encrypt(struct crypto_tfm * key, |