1gnutls_crypto_digest_register2(3)   gnutls   gnutls_crypto_digest_register2(3)
2
3
4

NAME

6       gnutls_crypto_digest_register2 - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int  gnutls_crypto_digest_register2(int  priority,  int  version, const
12       gnutls_crypto_digest_st * s);
13

ARGUMENTS

15       int priority
16                   is the priority of the digest interface
17
18       int version should be set to GNUTLS_CRYPTO_API_VERSION
19
20       const gnutls_crypto_digest_st * s
21                   is a structure holding new interface's data
22

DESCRIPTION

24       This function will register a digest interface to be  used  by  gnutls.
25       Any  interface registered will override the included engine and by con‐
26       vention kernel implemented interfaces should have priority of  90.  The
27       interface with the lowest priority will be used by gnutls.
28
29       This function should be called before gnutls_global_init().
30
31       For  simplicity you can use the convenience gnutls_crypto_digest_regis‐
32       ter() macro.
33

RETURNS

35       GNUTLS_E_SUCCESS on success, otherwise an error.
36

SINCE

38       2.6.0
39

REPORTING BUGS

41       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
42       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
43       http://www.gnu.org/gethelp/
44
46       Copyright © 2008 Free Software Foundation.
47       Copying and distribution of this file, with  or  without  modification,
48       are  permitted  in  any  medium  without royalty provided the copyright
49       notice and this notice are preserved.
50

SEE ALSO

52       The full documentation for gnutls is maintained as  a  Texinfo  manual.
53       If  the  info  and gnutls programs are properly installed at your site,
54       the command
55
56              info gnutls
57
58       should give you access to the complete manual.
59
60
61
62gnutls                             2.12.6.1  gnutls_crypto_digest_register2(3)
Impressum