From 430246f106b37cc166e2043cf7aab1a16721e62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 19 Jul 2006 14:16:33 +0000 Subject: [PATCH] Expose the wrap length calculations in cfx for external testing. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17837 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/gssapi/krb5/cfx.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/gssapi/krb5/cfx.h b/lib/gssapi/krb5/cfx.h index c30ed0784..60112a04e 100644 --- a/lib/gssapi/krb5/cfx.h +++ b/lib/gssapi/krb5/cfx.h @@ -62,4 +62,19 @@ typedef struct gss_cfx_delete_token_desc_struct { u_char SND_SEQ[8]; } gss_cfx_delete_token_desc, *gss_cfx_delete_token; +krb5_error_code +_gsskrb5cfx_wrap_length_cfx(krb5_crypto crypto, + int conf_req_flag, + size_t input_length, + size_t *output_length, + size_t *cksumsize, + uint16_t *padlength); + +krb5_error_code +_gsskrb5cfx_max_wrap_length_cfx(krb5_crypto crypto, + int conf_req_flag, + size_t input_length, + OM_uint32 *output_length); + + #endif /* GSSAPI_CFX_H_ */