aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2005-10-13 16:54:37 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-18 23:19:42 -0700
commit293f1eb551a77fe5c8956a559a3c0baea95cd9bc (patch)
tree03c770935eb42f6deccb275be0326d2f4b17c80c /include/linux/sunrpc
parent1d95db8e1688ed54e143a597c5570631a42fa594 (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.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h
index 689262f6305..e896752ffbf 100644
--- a/include/linux/sunrpc/gss_api.h
+++ b/include/linux/sunrpc/gss_api.h
@@ -48,6 +48,17 @@ u32 gss_verify_mic(
struct xdr_buf *message,
struct xdr_netobj *mic_token,
u32 *qstate);
+u32 gss_wrap(
+ struct gss_ctx *ctx_id,
+ u32 qop,
+ int offset,
+ struct xdr_buf *outbuf,
+ struct page **inpages);
+u32 gss_unwrap(
+ struct gss_ctx *ctx_id,
+ u32 *qop,
+ int offset,
+ struct xdr_buf *inbuf);
u32 gss_delete_sec_context(
struct gss_ctx **ctx_id);
@@ -93,6 +104,17 @@ struct gss_api_ops {
struct xdr_buf *message,
struct xdr_netobj *mic_token,
u32 *qstate);
+ u32 (*gss_wrap)(
+ struct gss_ctx *ctx_id,
+ u32 qop,
+ int offset,
+ struct xdr_buf *outbuf,
+ struct page **inpages);
+ u32 (*gss_unwrap)(
+ struct gss_ctx *ctx_id,
+ u32 *qop,
+ int offset,
+ struct xdr_buf *buf);
void (*gss_delete_sec_context)(
void *internal_ctx_id);
};