aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/gss_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/gss_api.h')
-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 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);
51u32 gss_wrap(
52 struct gss_ctx *ctx_id,
53 u32 qop,
54 int offset,
55 struct xdr_buf *outbuf,
56 struct page **inpages);
57u32 gss_unwrap(
58 struct gss_ctx *ctx_id,
59 u32 *qop,
60 int offset,
61 struct xdr_buf *inbuf);
51u32 gss_delete_sec_context( 62u32 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};