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

PKCS11 Library Mechanism Handling. More...

#include "pkcs11_config.h"
#include "pkcs11_debug.h"
#include "pkcs11_init.h"
#include "pkcs11_mech.h"
#include "pkcs11_slot.h"
#include "cryptoauthlib.h"

Data Structures

struct  pcks11_mech_table_e
 

Macros

#define PCKS11_MECH_ECC508_EC_CAPABILITY   (CKF_EC_F_P | CKF_EC_NAMEDCURVE | CKF_EC_UNCOMPRESS)
 
#define TABLE_SIZE(x)   sizeof(x) / sizeof(x[0])
 

Typedefs

typedef struct pcks11_mech_table_e pcks11_mech_table_e
 
typedef struct pcks11_mech_table_epcks11_mech_table_ptr
 

Functions

CK_RV pkcs11_mech_get_list (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount)
 
CK_RV pkcs_mech_get_info (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo)
 

Detailed Description

PKCS11 Library Mechanism Handling.