This file contains all of the enums and definitions that are used for the CryptoCell Lib init and finish APIs, as well as the APIs themselves. More...
Go to the source code of this file.
Macros | |
#define | DX_VERSION_PRODUCT_BIT_SHIFT 0x18UL |
#define | DX_VERSION_PRODUCT_BIT_SIZE 0x8UL |
Enumerations |
Functions | |
SA_SilibRetCode_t | SaSi_LibInit (void *rnd_ctx, CRYS_RND_WorkBuff_t *rndWorkBuff_ptr) |
This function Perform global initialization of the ARM CryptoCell 3xx runtime library; it must be called once per ARM CryptoCell for 3xx cold boot cycle. Among other initializations, this function calls CRYS_RND_Instantiation and CRYS_RND_SetGenerateVectorFunc to initialize the TRNG and the primary RND context. An initialized RND context is required for calling RND APIs and asymmetric cryptography key generation and signatures. The primary context returned by this function can be used as a single global context for all RND needs. Alternatively, other contexts may be initialized and used with a more limited scope (for specific applications or specific threads). More... | |
SA_SilibRetCode_t | SaSi_LibFini (void *rnd_ctx) |
This function finalize the library operations. It frees the associated resources (mutexes) and call hal and pal terminate functions. the function also call CRYS_RND_UnInstantiation to clean the rnd state. More... | |
This file contains all of the enums and definitions that are used for the CryptoCell Lib init and finish APIs, as well as the APIs themselves.
Definition in file sns_silib.h.