hu_GetStateSbg56()

Retrieves the state of the module.

Synopsis:

#include "hugse56.h"

int hu_GetStateSbg56(int *state, sb_GlobalCtx sbCtx)
            

Arguments:

state
The state of the module.
sbCtx
A global context.

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

Possible values for state are:
  • SBG56_STATE_INSTALLED - The module is installed. It is uninitialized and cannot perform cryptographic operations.
  • SBG56_STATE_ENABLED - The module is initialized, and is ready to perform cryptographic operations.
  • SBG56_STATE_DISABLED - The module is disabled, and cannot perform cryptographic operations.

Returns:

SB_ERR_NULL_OUTPUT
The state pointer is NULL.
SB_SUCCESS
Success.

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus