CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
pkcs11_init.c File Reference

PKCS11 Library Init/Deinit. More...

#include "atca_device.h"
#include "hal/atca_hal.h"
#include "pkcs11_config.h"
#include "pkcs11_debug.h"
#include "pkcs11_init.h"
#include "pkcs11_os.h"
#include "pkcs11_slot.h"
#include "pkcs11_object.h"
#include "pkcs11_session.h"
#include "cryptoauthlib.h"

Functions

pkcs11_lib_ctx_ptr pkcs11_get_context (void)
 Retrieve the current library context.
 
CK_RV pkcs11_lock_context (pkcs11_lib_ctx_ptr pContext)
 
CK_RV pkcs11_unlock_context (pkcs11_lib_ctx_ptr pContext)
 
CK_RV pkcs11_lock_device (pkcs11_lib_ctx_ptr pContext)
 
CK_RV pkcs11_unlock_device (pkcs11_lib_ctx_ptr pContext)
 
CK_RV pkcs11_lock_both (pkcs11_lib_ctx_ptr pContext)
 
CK_RV pkcs11_unlock_both (pkcs11_lib_ctx_ptr pContext)
 
CK_RV pkcs11_init_check (pkcs11_lib_ctx_ptr *ppContext, CK_BBOOL lock)
 Check if the library is initialized properly.
 
CK_RV pkcs11_init (CK_C_INITIALIZE_ARGS const *pInitArgs)
 Initializes the PKCS11 API Library for Cryptoauthlib.
 
CK_RV pkcs11_deinit (CK_VOID_PTR pReserved)
 

Detailed Description

PKCS11 Library Init/Deinit.

Copyright (c) 2017 Microchip Technology Inc. All rights reserved.