diff --git a/lib/krb5/krb5_create_checksum.3 b/lib/krb5/krb5_create_checksum.3 index a01eece97..476757b6c 100644 --- a/lib/krb5/krb5_create_checksum.3 +++ b/lib/krb5/krb5_create_checksum.3 @@ -41,12 +41,13 @@ .Nm krb5_checksum_is_disabled , .Nm krb5_checksum_is_keyed , .Nm krb5_checksumsize , +.Nm krb5_cksumtype_valid , +.Nm krb5_copy_checksum , .Nm krb5_create_checksum , -.Nm krb5_verify_checksum , .Nm krb5_crypto_get_checksum_type .Nm krb5_free_checksum , .Nm krb5_free_checksum_contents , -.Nm krb5_copy_checksum +.Nm krb5_verify_checksum .Nd creates, handles and verifies checksums .Sh LIBRARY Kerberos 5 Library (libkrb5, -lkrb5) @@ -63,6 +64,10 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Ft krb5_boolean .Fn krb5_checksum_is_keyed "krb5_context context" "krb5_cksumtype type" .Ft krb5_error_code +.Fn krb5_cksumtype_valid "krb5_context context" "krb5_cksumtype ctype" +.Ft krb5_error_code +.Fn krb5_checksumsize "krb5_context context" "krb5_cksumtype type" "size_t *size" +.Ft krb5_error_code .Fn krb5_create_checksum "krb5_context context" "krb5_crypto crypto" "unsigned usage_or_type" "void *data" "size_t len" "Checksum *result" .Ft krb5_error_code .Fn krb5_verify_checksum "krb5_context context" "krb5_crypto crypto" "krb5_key_usage usage" "void *data" "size_t len" "Checksum *cksum" @@ -140,6 +145,13 @@ This function is useful in combination with when you want to know the size a checksum will use when you create it. .Pp +.Fn krb5_cksumtype_valid +returns 0 or an error if the checksumtype is implemented/valid in this +kerberos library. +.Pp +.Fn krb5_checksumsize +returns the size of the outdata of checksum function. +.Pp .Fn krb5_copy_checksum returns a copy of the checksum .Fn krb5_free_checksum