fips

fips

Functions

Types and Values

#define FIPS140_RND_KEY_SIZE
enum gnutls_lib_state_t
#define FAIL_IF_LIB_ERROR
gnutls_fips_mode_t mode

Description

Functions

HAVE_LIB_ERROR

# define HAVE_LIB_ERROR() unlikely(_gnutls_get_lib_state() != LIB_STATE_OPERATIONAL && _gnutls_get_lib_state() != LIB_STATE_SELFTEST)

is_mac_algo_approved_in_fips ()

return
is_mac_algo_approved_in_fips (algo Param1);

is_cipher_algo_approved_in_fips ()

if
is_cipher_algo_approved_in_fips ();

is_mac_algo_allowed()

# define is_mac_algo_allowed(x) true

is_cipher_algo_allowed()

# define is_cipher_algo_allowed(x) true

FIPS_RULE()

# define FIPS_RULE(condition, ret_error, ...)

Types and Values

FIPS140_RND_KEY_SIZE

#define FIPS140_RND_KEY_SIZE 32

enum gnutls_lib_state_t

Members

LIB_STATE_POWERON

   

LIB_STATE_INIT

   

LIB_STATE_SELFTEST

   

LIB_STATE_OPERATIONAL

   

LIB_STATE_ERROR

   

LIB_STATE_SHUTDOWN

   

FAIL_IF_LIB_ERROR

#define             FAIL_IF_LIB_ERROR

mode

	gnutls_fips_mode_t mode = _gnutls_fips_mode_enabled();