1gnutls_crypto_single_cipher_register2g(n3ug)tnlustls_crypto_single_cipher_register2(3)
2
3
4

NAME

6       gnutls_crypto_single_cipher_register2 - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int     gnutls_crypto_single_cipher_register2(gnutls_cipher_algorithm_t
12       algorithm, int priority, int version, const  gnutls_crypto_cipher_st  *
13       s);
14

ARGUMENTS

16       gnutls_cipher_algorithm_t algorithm
17                   is the gnutls algorithm identifier
18
19       int priority
20                   is the priority of the algorithm
21
22       int version should be set to GNUTLS_CRYPTO_API_VERSION
23
24       const gnutls_crypto_cipher_st * s
25                   is a structure holding new cipher's data
26

DESCRIPTION

28       This  function  will  register a cipher algorithm to be used by gnutls.
29       Any algorithm registered will override the included algorithms  and  by
30       convention  kernel  implemented  algorithms  have  priority of 90.  The
31       algorithm with the lowest priority will be used by gnutls.
32
33       This function should be called before gnutls_global_init().
34
35       For  simplicity  you  can  use   the   convenience   gnutls_crypto_sin‐
36       gle_cipher_register() macro.
37

RETURNS

39       GNUTLS_E_SUCCESS on success, otherwise an error.
40

SINCE

42       2.6.0
43

REPORTING BUGS

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

SEE ALSO

56       The  full  documentation  for gnutls is maintained as a Texinfo manual.
57       If the info and gnutls programs are properly installed  at  your  site,
58       the command
59
60              info gnutls
61
62       should give you access to the complete manual.
63
64
65
66gnutls                             2.12g.n6u.t1ls_crypto_single_cipher_register2(3)
Impressum