diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2005-10-13 16:54:37 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-19 02:19:42 -0400 |
commit | 293f1eb551a77fe5c8956a559a3c0baea95cd9bc (patch) | |
tree | 03c770935eb42f6deccb275be0326d2f4b17c80c /include/linux/sunrpc | |
parent | 1d95db8e1688ed54e143a597c5570631a42fa594 (diff) |
SUNRPC: Add support for privacy to generic gss-api code.
Add support for privacy to generic gss-api code. This is dead code until we
have both a mechanism that supports privacy and code in the client or server
that uses it.
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_api.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h index 689262f63059..e896752ffbf9 100644 --- a/include/linux/sunrpc/gss_api.h +++ b/include/linux/sunrpc/gss_api.h | |||
@@ -48,6 +48,17 @@ u32 gss_verify_mic( | |||
48 | struct xdr_buf *message, | 48 | struct xdr_buf *message, |
49 | struct xdr_netobj *mic_token, | 49 | struct xdr_netobj *mic_token, |
50 | u32 *qstate); | 50 | u32 *qstate); |
51 | u32 gss_wrap( | ||
52 | struct gss_ctx *ctx_id, | ||
53 | u32 qop, | ||
54 | int offset, | ||
55 | struct xdr_buf *outbuf, | ||
56 | struct page **inpages); | ||
57 | u32 gss_unwrap( | ||
58 | struct gss_ctx *ctx_id, | ||
59 | u32 *qop, | ||
60 | int offset, | ||
61 | struct xdr_buf *inbuf); | ||
51 | u32 gss_delete_sec_context( | 62 | u32 gss_delete_sec_context( |
52 | struct gss_ctx **ctx_id); | 63 | struct gss_ctx **ctx_id); |
53 | 64 | ||
@@ -93,6 +104,17 @@ struct gss_api_ops { | |||
93 | struct xdr_buf *message, | 104 | struct xdr_buf *message, |
94 | struct xdr_netobj *mic_token, | 105 | struct xdr_netobj *mic_token, |
95 | u32 *qstate); | 106 | u32 *qstate); |
107 | u32 (*gss_wrap)( | ||
108 | struct gss_ctx *ctx_id, | ||
109 | u32 qop, | ||
110 | int offset, | ||
111 | struct xdr_buf *outbuf, | ||
112 | struct page **inpages); | ||
113 | u32 (*gss_unwrap)( | ||
114 | struct gss_ctx *ctx_id, | ||
115 | u32 *qop, | ||
116 | int offset, | ||
117 | struct xdr_buf *buf); | ||
96 | void (*gss_delete_sec_context)( | 118 | void (*gss_delete_sec_context)( |
97 | void *internal_ctx_id); | 119 | void *internal_ctx_id); |
98 | }; | 120 | }; |