1gnutls_mac_self_test(3) gnutls gnutls_mac_self_test(3)
2
3
4
6 gnutls_mac_self_test - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_mac_self_test(unsigned all, gnutls_mac_algorithm_t mac);
12
14 unsigned all
15 if non-zero then tests to all ciphers are performed.
16
17 gnutls_mac_algorithm_t mac
18 the message authentication algorithm to use
19
21 This function will run self tests on the provided mac.
22
24 Zero or a negative error code on error.
25
27 3.3.0
28
30 Report bugs to <bugs@gnutls.org>.
31 Home page: http://www.gnutls.org
32
33
35 Copyright © 2001-2014 Free Software Foundation, Inc..
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice and this notice are preserved.
39
41 The full documentation for gnutls is maintained as a Texinfo manual.
42 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
43 visit
44
45 http://www.gnutls.org/manual/
46
47gnutls 3.3.0 gnutls_mac_self_test(3)