1gnutls_fips140_push_context(3)      gnutls      gnutls_fips140_push_context(3)
2
3
4

NAME

6       gnutls_fips140_push_context - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_fips140_push_context(gnutls_fips140_context_t context);
12

ARGUMENTS

14       gnutls_fips140_context_t context
15                   a gnutls_fips140_context_t
16

DESCRIPTION

18       Associate  the  FIPS  context to the current thread, diverting the cur‐
19       rently active context. If a cryptographic operation is ongoing  in  the
20       current   thread,   e.g.,   gnutls_aead_cipher_init()   is  called  but
21       gnutls_aead_cipher_deinit() is not yet  called,  it  returns  an  error
22       GNUTLS_E_INVALID_REQUEST.
23
24       The operation state of  context will be reset to GNUTLS_FIPS140_OP_INI‐
25       TIAL.
26

RETURNS

28       0 upon success, a negative error code otherwise
29

SINCE

31       3.7.3
32

REPORTING BUGS

34       Report bugs to <bugs@gnutls.org>.
35       Home page: https://www.gnutls.org
36
37
39       Copyright © 2001- Free Software Foundation, Inc., and others.
40       Copying and distribution of this file, with  or  without  modification,
41       are  permitted in any medium without royalty provided the copyright no‐
42       tice and this notice are preserved.
43

SEE ALSO

45       The full documentation for gnutls is maintained as  a  Texinfo  manual.
46       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                               3.7.6      gnutls_fips140_push_context(3)
Impressum