| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
#include "r_com.h"
#include "r_res.h"
#include "r_flg.h"
#include "r_strtbl.h"
#include "bio.h"
Go to the source code of this file.
Defines | |
| #define | R_LIB_CTX_INFO_ID_RESOURCE_LIST |
| Indicates the resource list of the library context. | |
| #define | R_LIB_CTX_INFO_ID_MODE |
| Indicates the default mode of the library context. | |
| #define | R_LIB_CTX_STANDARD_MODE |
| Indicates that FIPS 140 mode is disabled for the library. | |
| #define | R_LIB_CTX_SOFTWARE_MODE |
| Indicates that software mode is enabled for the library. | |
Typedefs | |
| typedef struct r_lib_ctx_st | R_LIB_CTX |
| The common library context. More... | |
| typedef struct r_lib_method_st | R_LIB_METHOD |
| The library method table. More... | |
Functions | |
| int R_CDECL | R_LIB_CTX_new (R_RES_LIST *r_list, R_RES_FLAG flag, R_LIB_CTX **lib_ctx) |
| Allocates the library context based upon a supplied resource list. More... | |
| int R_CDECL | R_LIB_CTX_free (R_LIB_CTX *lib_ctx) |
| Deallocates the library context. More... | |
| int R_CDECL | R_LIB_CTX_set_info (R_LIB_CTX *lib_ctx, int info_id, void *value) |
| Sets information into the library context R_LIB_CTX. More... | |
| int R_CDECL | R_LIB_CTX_get_info (R_LIB_CTX *lib_ctx, int info_id, void *value) |
| Returns the requested information from the library context R_LIB_CTX. More... | |
|
|
The common library context. This opaque structure is required by all other R_LIB_CTX functions. It maintains the state required by the library during execution. It can be freed via R_LIB_CTX_free() when it is no longer required. Under normal circumstances only one context is needed at a time. |
|
|
The library method table. An opaque structure that contains the methods for the R_LIB_CTX functions. |
|
|
Deallocates the library context.
|
|
||||||||||||||||
|
Returns the requested information from the library context R_LIB_CTX.
|
|
||||||||||||||||
|
Allocates the library context based upon a supplied resource list.
|
|
||||||||||||||||
|
Sets information into the library context R_LIB_CTX.
|