CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
pkcs11_digest.h File Reference

PKCS11 Library Digest (SHA256) Handling. More...

#include "cryptoki.h"

Functions

CK_RV pkcs11_digest_init (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism)
 Initializes a message-digesting operation using the specified mechanism in the specified session.
 
CK_RV pkcs11_digest (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
 Digest the specified data in a one-pass operation and return the resulting digest.
 
CK_RV pkcs11_digest_update (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
 Continues a multiple-part digesting operation.
 
CK_RV pkcs11_digest_final (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
 Finishes a multiple-part digesting operation.
 

Detailed Description

PKCS11 Library Digest (SHA256) Handling.