PKCS11 Library Digest (SHA256) Handling.
More...
#include "cryptoki.h"
|
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.
|
|
PKCS11 Library Digest (SHA256) Handling.
- Copyright
- (c) 2015-2020 Microchip Technology Inc. and its subsidiaries.