From b8e68a1624459998c15fdab8df84f846880b32dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 21 Mar 2004 14:02:08 +0000 Subject: [PATCH] document krb5_get_wrapped_length git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13601 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_encrypt.3 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/krb5/krb5_encrypt.3 b/lib/krb5/krb5_encrypt.3 index 3fa865c9b..87d0c2e99 100644 --- a/lib/krb5/krb5_encrypt.3 +++ b/lib/krb5/krb5_encrypt.3 @@ -48,7 +48,8 @@ .Nm krb5_enctype_is_disabled , .Nm krb5_enctype_keysize , .Nm krb5_enctype_to_string , -.Nm krb5_string_to_enctype , +.Nm krb5_get_wrapped_length , +.Nm krb5_string_to_enctype .Nd encrypt and decrypt data, set and get encryption type parameters .Sh LIBRARY Kerberos 5 Library (libkrb5, -lkrb5) @@ -114,6 +115,12 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Fa "krb5_context context" .Fa "krb5_enctype etype" .Fc +.Ft size_t +.Fo krb5_get_wrapped_length +.Fa "krb5_context context" +.Fa "krb5_crypto crypto" +.Fa "size_t data_len" +.Fc .Sh DESCRIPTION These functions are used to encrypt and decrypt data. .Pp @@ -177,6 +184,12 @@ encryption/decryption). .Fn krb5_enctype_disable (globally, for all contextes) disables the .Fa enctype . +.Pp +.Fn krb5_get_wrapped_length +returns the size of an encrypted packet by +.Fa crypto +of length +.Fa data_len . .\" .Sh EXAMPLE .\" .Sh BUGS .Sh SEE ALSO