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

PKCS11 Library Object Attributes Handling. More...

#include "pkcs11_config.h"
#include "pkcs11_attrib.h"
#include "cryptoauthlib.h"
#include "pkcs11_session.h"

Functions

CK_RV pkcs11_attrib_fill (CK_ATTRIBUTE_PTR pAttribute, const void *pData, const CK_ULONG ulSize)
 Perform the nessasary checks and copy data into an attribute structure.
 
CK_RV pkcs11_attrib_value (CK_ATTRIBUTE_PTR pAttribute, const CK_ULONG ulValue, const CK_ULONG ulSize)
 Helper function to write a numerical value to an attribute buffer.
 
CK_RV pkcs11_attrib_false (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession)
 
CK_RV pkcs11_attrib_true (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession)
 
CK_RV pkcs11_attrib_empty (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession)
 

Detailed Description

PKCS11 Library Object Attributes Handling.