Debian Codegraph @

doc/functions/gnutls_fips140_pop_context

raw
1
2
3
4
5 @deftypefun {int} {gnutls_fips140_pop_context} ( @var{void})
6
7 Dissociate the FIPS context currently
8 active on the current thread, reverting to the previously active
9 context. If a cryptographic operation is ongoing in the current
10 thread, e.g., @code{gnutls_aead_cipher_init()} is called but
11 @code{gnutls_aead_cipher_deinit()} is not yet called, it returns an error
12 @code{GNUTLS_E_INVALID_REQUEST} .
13
14 This function is no-op if FIPS140 is not compiled in nor enabled
15 at run-time.
16
17 @strong{Returns:} 0 upon success, a negative error code otherwise
18
19 @strong{Since:} 3.7.3
20 @end deftypefun