document krb5_crypto_get_checksum_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12614 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd April 7, 1999
|
.Dd August 23, 2003
|
||||||
.Dt NAME 3
|
.Dt NAME 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -39,7 +39,8 @@
|
|||||||
.Nm krb5_checksum_is_keyed ,
|
.Nm krb5_checksum_is_keyed ,
|
||||||
.Nm krb5_checksumsize ,
|
.Nm krb5_checksumsize ,
|
||||||
.Nm krb5_create_checksum ,
|
.Nm krb5_create_checksum ,
|
||||||
.Nm krb5_verify_checksum
|
.Nm krb5_verify_checksum ,
|
||||||
|
.Nm krb5_crypto_get_checksum_type
|
||||||
.Nd creates and verifies checksums
|
.Nd creates and verifies checksums
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
Kerberos 5 Library (libkrb5, -lkrb5)
|
Kerberos 5 Library (libkrb5, -lkrb5)
|
||||||
@@ -53,6 +54,12 @@ Kerberos 5 Library (libkrb5, -lkrb5)
|
|||||||
.Fn krb5_checksum_is_collision_proof "krb5_context context" "krb5_cksumtype type"
|
.Fn krb5_checksum_is_collision_proof "krb5_context context" "krb5_cksumtype type"
|
||||||
.Ft krb5_boolean
|
.Ft krb5_boolean
|
||||||
.Fn krb5_checksum_is_keyed "krb5_context context" "krb5_cksumtype type"
|
.Fn krb5_checksum_is_keyed "krb5_context context" "krb5_cksumtype type"
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_crypto_get_checksum_type
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "krb5_crypto crypto"
|
||||||
|
.Fa "krb5_cksumtype *type"
|
||||||
|
.Fc
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
These functions are used to create and verify checksums.
|
These functions are used to create and verify checksums.
|
||||||
.Fn krb5_create_checksum
|
.Fn krb5_create_checksum
|
||||||
@@ -88,6 +95,11 @@ value is a function of both the data, and a separate key). Examples of
|
|||||||
keyed hash algorithms are HMAC-SHA1-DES3, and RSA-MD5-DES. The
|
keyed hash algorithms are HMAC-SHA1-DES3, and RSA-MD5-DES. The
|
||||||
.Dq plain
|
.Dq plain
|
||||||
hash functions MD5, and SHA1 are not keyed.
|
hash functions MD5, and SHA1 are not keyed.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_crypto_get_checksum_type
|
||||||
|
returns the checksum type that will be used when creating a checksum for the given
|
||||||
|
.Fa crypto
|
||||||
|
context.
|
||||||
.\" .Sh EXAMPLE
|
.\" .Sh EXAMPLE
|
||||||
.\" .Sh BUGS
|
.\" .Sh BUGS
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
Reference in New Issue
Block a user