NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvpkcs11.h File Reference

Detailed Description

NVIDIA PKCS #11 API header file.

This header file contains the NVIDIA definitions for vendor-specific
extensions that are for the PKCS11 interface provided for HPSE NVIDIA Tegra products.

Version
pkcs11 v3.0

Definition in file nvpkcs11.h.

Go to the source code of this file.

Data Structures

struct  CK_NVIDIA_CHANNEL_ATTRIBUTE
 CK_NVIDIA_CHANNEL_ATTRIBUTE provides the parameters to use a channel for a set of operations. More...
 
struct  CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY
 CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY provides the parameters, the input, and the output for a single batch entry in a batch message-based signature or signature verification process. More...
 
struct  CK_NVIDIA_BATCH_DIGEST_ENTRY
 CK_NVIDIA_BATCH_DIGEST_ENTRY provides the parameters, the input, and the output for a single batch entry in a batch digest process. More...
 
struct  NV_CK_FUNCTION_LIST
 NVIDIA functions list. More...
 
struct  CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS
 CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS provides the parameters to the CKM_NVIDIA_AES_CBC_KEY_DATA_WRAP mechanism. More...
 
struct  CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS
 CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS provides the parameters to the CKM_NVIDIA_SP800_56C_TWO_STEPS_KDF mechanism. More...
 
struct  CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS
 CK_CKM_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS provides the parameters to the CKM_NVIDIA_MACSEC_AES_KEY_WRAP mechanism. More...
 
struct  CK_NVIDIA_ZERO_COPY_ENTRY
 CK_NVIDIA_ZERO_COPY_ENTRY provides single zero copy data address. More...
 
struct  CK_NVIDIA_ZERO_COPY_LIST
 CK_NVIDIA_ZERO_COPY_LIST provides multiple zero copy data addresses. More...
 
struct  CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS
 CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS provides the parameters to the CKM_NVIDIA_OX5B_SHA256_KEY_DERIVATION mechanism. More...
 
struct  CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS
 CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS provides the parameters to the CKM_NVIDIA_SP800_56A_ONE_STEP_KDF mechanism. More...
 
struct  CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS
 CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS provides the parameters to the CKM_NVIDIA_SHA256_KEY_DERIVATION mechanism. More...
 

Macros

#define CKF_NVIDIA_ZERO_COPY   (0x00000001UL)
 Declaration of CKF_NVIDIA vendor extension flags. More...
 
#define CKF_NVIDIA_GCM_DECRYPT_UNAVAILABLE   (0x00000002UL)
 Indicates this channel does not support GCM decrypt operations
More...
 
#define CKF_NVIDIA_HMAC_SIGN   (0x0100000000UL)
 Extended mechanism flags used by channel feature - these follow on from CKF_EC_CURVENAME (0x80000000UL) More...
 
#define CKF_NVIDIA_HMAC_VERIFY   (0x0200000000UL)
 Used in the pChannelSettings structure of C_NVIDIA_OpenSession to indicate that a channel is to be used for HMAC verification. More...
 
#define CKF_NVIDIA_HMAC_MESSAGE_SIGN   (0x0400000000UL)
 Used in the pChannelSettings structure of C_NVIDIA_OpenSession to indicate that a channel is to be used for HMAC message-based signing. More...
 
#define CKF_NVIDIA_HMAC_MESSAGE_VERIFY   (0x0800000000UL)
 Used in the pChannelSettings structure of C_NVIDIA_OpenSession to indicate that a channel is to be used for HMAC message-based verification. More...
 
#define CKF_NVIDIA_TOKEN_OK   (0x02000000UL)
 TokenInfo extended flags - these follow on from CKF_ERROR_STATE (0x01000000UL) More...
 
#define CKF_NVIDIA_SECURE_STORAGE_FAILED   (0x04000000UL)
 This token does not have functional secure storage. More...
 
#define CKF_NVIDIA_SECURE_STORAGE_TAMPERED   (0x08000000UL)
 Secure storage may have been tampered with, is not available. More...
 
#define CKF_NVIDIA_KEYLOAD_TIMEOUT   (0x10000000UL)
 It was not possible to transfer keys in a specified time, token keys will be unavailable. More...
 
#define CKF_NVIDIA_KEYLOAD_FAILED   (0x20000000UL)
 An error occurred when loading keys, token keys will be unavailable. More...
 
#define CKF_NVIDIA_TOKEN_ERROR   (0x40000000UL)
 An unspecified error occurred with the token. More...
 
#define CKF_NVIDIA_SECURE_STORAGE_NOT_PROVISIONED   (0x80000000UL)
 Secure storage is present, but not provisioned. More...
 
#define CKF_NVIDIA_SECURE_STORAGE_NOT_PRESENT   (0x100000000UL)
 Secure storage could not be found. More...
 
#define CKF_NVIDIA_KAT_TEST_NONE   (0x00000001UL)
 KAT related flags. More...
 
#define CKF_NVIDIA_KAT_TEST_START   (0x00000002UL)
 For NVIDIA internal use only. More...
 
#define CKF_NVIDIA_KAT_TEST_PASS   (0x00000004UL)
 For NVIDIA internal use only. More...
 
#define CKF_NVIDIA_KAT_TEST_FAIL   (0x00000008UL)
 For NVIDIA internal use only. More...
 
#define CKF_NVIDIA_KAT_TEST_BYPASS   (0x00000010UL)
 For NVIDIA internal use only. More...
 
#define CKF_NVIDIA_KAT_TEST_LIMIT_INIT   (0x00000020UL)
 For NVIDIA internal use only. More...
 
#define CKR_NVIDIA_CHANNEL_NOT_FOUND   (CKR_VENDOR_DEFINED | 0x000000007UL)
 Declaration of CKR_NVIDIA vendor extension return values. More...
 
#define CKR_NVIDIA_CHANNEL_CANNOT_OPEN   (CKR_VENDOR_DEFINED | 0x000000008UL)
 The requested channel could not be opened. More...
 
#define CKR_NVIDIA_SECURE_STORAGE_FAILED   (CKR_VENDOR_DEFINED | 0x000000009UL)
 This token does not have functional secure storage. More...
 
#define CKR_NVIDIA_SECURE_STORAGE_TAMPERED   (CKR_VENDOR_DEFINED | 0x000000010UL)
 Secure storage may have been tampered, is not available. More...
 
#define CKR_NVIDIA_OBJECTS_CHANGED   (CKR_VENDOR_DEFINED | 0x000000011UL)
 The number of stored objects are different from when the search was initialised. More...
 
#define CKR_NVIDIA_FUNCTION_NOT_ALLOWED_IN_SYSTEM_STATE   (CKR_VENDOR_DEFINED | 0x000000012UL)
 This function call is not permitted in the current NVDVMS state state. More...
 
#define CKR_NVIDIA_CRYPTOKI_UNAVAILABLE   (CKR_VENDOR_DEFINED | 0x000000013UL)
 Cryptoki is unavailable due to a prior CKR_NVIDIA_FUNCTION_NOT_ALLOWED_IN_SYSTEM_STATE error. More...
 
#define CKR_NVIDIA_ENTRY_PARSED_NOT_PROCESSED   (CKR_VENDOR_DEFINED | 0x000000014UL)
 If a batch entry is parsed correctly, this value is assigned to the per-entry rv before the batch is submitted for signing/verifying. More...
 
#define CKA_NVIDIA_CALLER_NONCE   (CKA_VENDOR_DEFINED | 0x00000001UL)
 Declaration of CKA_NVIDIA vendor extension attributes. More...
 
#define CKA_NVIDIA_GCM_DECRYPT_SUPPORTED   (CKA_VENDOR_DEFINED | 0x00000002UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_MAPPED_BUFFER_SIZE   (CKA_VENDOR_DEFINED | 0x00000003UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_PRIORITY   (CKA_VENDOR_DEFINED | 0x00000004UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_SE_ENGINE_DOMAIN   (CKA_VENDOR_DEFINED | 0x00000005UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_SE_ENGINE_DOMAIN_INSTANCE_ID   (CKA_VENDOR_DEFINED | 0x00000006UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_SE_PORT   (CKA_VENDOR_DEFINED | 0x00000007UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_SMMU_HANDLE   (CKA_VENDOR_DEFINED | 0x00000008UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_SMMU_STREAM_ID   (CKA_VENDOR_DEFINED | 0x00000009UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_VIRTUALIZED_INSTANCE_ID   (CKA_VENDOR_DEFINED | 0x0000000AUL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_PARAMS_SIZE   (CKA_VENDOR_DEFINED | 0x0000000BUL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM0   (CKA_VENDOR_DEFINED | 0x0000000CUL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM1   (CKA_VENDOR_DEFINED | 0x0000000DUL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM2   (CKA_VENDOR_DEFINED | 0x0000000EUL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM3   (CKA_VENDOR_DEFINED | 0x0000000FUL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM4   (CKA_VENDOR_DEFINED | 0x00000010UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM5   (CKA_VENDOR_DEFINED | 0x00000011UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM6   (CKA_VENDOR_DEFINED | 0x00000012UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM7   (CKA_VENDOR_DEFINED | 0x00000013UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM8   (CKA_VENDOR_DEFINED | 0x00000014UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CUSTOM_SOC_SPECIFIC_PARAM9   (CKA_VENDOR_DEFINED | 0x00000015UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_SE_COMM_ID   (CKA_VENDOR_DEFINED | 0x00000016UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define CKA_NVIDIA_CHANNEL_LABEL   (CKA_VENDOR_DEFINED | 0x00000017UL)
 For details, refer to the "DT Configuration for QNX/Linux VSE Driver" section of the SDK Developer guide. More...
 
#define C_EncryptGetIV   C_NVIDIA_EncryptGetIV
 C_EncryptGetIV is a legacy interface for C_NVIDIA_EncryptGetIV to allow for backwards compatibility. More...
 
#define CKF_NVIDIA_SKIP_BATCH_ENTRY   (CKF_EXTENSION | 0x00000001UL)
 Specifies a particular batch entry must be skipped by a batch signing API. More...
 
#define CKF_NVIDIA_BATCH_MESSAGE_SIGN   (CKF_EXTENSION | 0x00100000UL)
 Specifies a mechanism can be used with a batch signing API. More...
 
#define CKF_NVIDIA_BATCH_MESSAGE_VERIFY   (CKF_EXTENSION | 0x00200000UL)
 Specifies a mechanism can be used with a batch verifying API. More...
 
#define CKF_NVIDIA_BATCH_DIGEST   (CKF_EXTENSION | 0x00400000UL)
 Specifies a mechanism can be used with a batch digest API. More...
 
#define CKM_NVIDIA_AES_CBC_KEY_DATA_WRAP   (CKM_VENDOR_DEFINED | 0x00000001UL)
 The CKM_NVIDIA_AES_CBC_KEY_DATA_WRAP mechanism type should be used with a CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS mechanism parameter to wrap either one secret key or a pair of secret keys with custom data interleaved between the two. More...
 
#define CKM_NVIDIA_SP800_56C_TWO_STEPS_KDF   (CKM_VENDOR_DEFINED | 0x00000002UL)
 The CKM_NVIDIA_SP800_56C_TWO_STEPS_KDF mechanism type should be used with a CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS mechanism parameter to derive a secret key from a CKK_AES or CKK_GENERIC_SECRET secret. More...
 
#define CKM_NVIDIA_MACSEC_AES_KEY_WRAP   (CKM_VENDOR_DEFINED | 0x00000003UL)
 The CKM_NVIDIA_MACSEC_AES_KEY_WRAP mechanism type should be used with a CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS mechanism parameter to wrap or unwrap a secret key. More...
 
#define CKM_NVIDIA_PSC_AES_CMAC   (CKM_VENDOR_DEFINED | 0x00000004UL)
 The CKM_NVIDIA_PSC_AES_CMAC mechanism is used to authenticate MACsec-protected traffic metadata-PDUs. More...
 
#define CKM_NVIDIA_AES_GCM_KEY_UNWRAP   (CKM_VENDOR_DEFINED | 0x00000005UL)
 The CKM_NVIDIA_AES_GCM_KEY_UNWRAP mechanism type should be used with the C_UnwrapKey API and the CK_GCM_PARAMS mechanism parameter to unwrap keys. More...
 
#define CKM_NVIDIA_OX5B_SHA256_KEY_DERIVATION   (CKM_VENDOR_DEFINED | 0x00000006UL)
 The CKM_NVIDIA_OX5B_SHA256_KEY_DERIVATION mechanism type should be used with the C_DeriveKey API and the CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS mechanism parameter to derive keys. More...
 
#define CKM_NVIDIA_SP800_56A_ONE_STEP_KDF   (CKM_VENDOR_DEFINED | 0x00000007UL)
 The CKM_NVIDIA_SP800_56A_ONE_STEP_KDF mechanism type should be used with a CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS mechanism parameter to derive a secret key from a CKK_AES or CKK_GENERIC_SECRET secret. More...
 
#define CKM_NVIDIA_TSECRADAR_AES_CMAC   (CKM_VENDOR_DEFINED | 0x00000008UL)
 The CKM_NVIDIA_TSECRADAR_AES_CMAC mechanism is a drop-in replacement for CKM_AES_CMAC. More...
 
#define CKM_NVIDIA_SHA256_KEY_DERIVATION   (CKM_VENDOR_DEFINED | 0x00000009UL)
 The CKM_NVIDIA_SHA256_KEY_DERIVATION mechanism type should be used with the C_DeriveKey API and the CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS mechanism parameter to derive keys. More...
 

Typedefs

typedef CK_ULONG CK_NVIDIA_CHANNEL_HANDLE
 Declaration of CK_NVIDIA_CHANNEL_HANDLE as a type. More...
 
typedef CK_NVIDIA_CHANNEL_HANDLE CK_PTR CK_NVIDIA_CHANNEL_HANDLE_PTR
 Declaration of CK_NVIDIA_CHANNEL_HANDLE_PTR as a type. More...
 
typedef CK_FLAGS CK_NVIDIA_FLAGS
 Declaration of CK_NVIDIA_FLAGS as a type. More...
 
typedef CK_NVIDIA_FLAGS CK_PTR CK_NVIDIA_FLAGS_PTR
 Declaration of CK_NVIDIA_FLAGS_PTR as a type. More...
 
typedef struct NV_CK_FUNCTION_LIST NV_CK_FUNCTION_LIST
 Declaration of NV_CK_FUNCTION_LIST as a type. More...
 
typedef NV_CK_FUNCTION_LIST CK_PTR NV_CK_FUNCTION_LIST_PTR
 Declaration of NV_CK_FUNCTION_LIST_PTR as a type. More...
 
typedef NV_CK_FUNCTION_LIST_PTR CK_PTR NV_CK_FUNCTION_LIST_PTR_PTR
 Declaration of NV_CK_FUNCTION_LIST_PTR_PTR as a type. More...
 
typedef CK_RV(* CK_C_NVIDIA_EncryptGetIV) (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pIV, CK_BYTE_PTR pIVLen)
 pointer to C_NVIDIA_EncryptGetIV More...
 
typedef CK_RV(* CK_C_NVIDIA_CommitTokenObjects) (CK_SESSION_HANDLE hSession, CK_FLAGS flags)
 pointer to C_NVIDIA_CommitTokenObjects More...
 
typedef CK_RV(* CK_C_NVIDIA_InitializeChannel) (CK_ULONG ulChannelId, CK_NVIDIA_CHANNEL_HANDLE_PTR phChannel, CK_NVIDIA_FLAGS_PTR pFlags)
 pointer to C_NVIDIA_InitializeChannel More...
 
typedef struct CK_NVIDIA_CHANNEL_ATTRIBUTE CK_NVIDIA_CHANNEL_ATTRIBUTE
 CK_NVIDIA_CHANNEL_ATTRIBUTE provides the parameters to use a channel for a set of operations. More...
 
typedef CK_NVIDIA_CHANNEL_ATTRIBUTE CK_PTR CK_NVIDIA_CHANNEL_ATTRIBUTE_PTR
 pointer to a CK_NVIDIA_CHANNEL_ATTRIBUTE structure More...
 
typedef CK_RV(* CK_C_NVIDIA_OpenSession) (CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession, CK_NVIDIA_CHANNEL_ATTRIBUTE_PTR pChannelSettings, CK_ULONG ulChannelSettingsCount, CK_NVIDIA_FLAGS additionalFlags)
 pointer to C_NVIDIA_OpenSession More...
 
typedef CK_RV(* CK_C_NVIDIA_FinalizeChannel) (CK_NVIDIA_CHANNEL_HANDLE hChannel)
 pointer to CK_C_NVIDIA_FinalizeChannel More...
 
typedef CK_RV(* CK_C_NVIDIA_SetKATParameters) (CK_FLAGS flags)
 pointer to C_NVIDIA_SetKATParameters More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchMessageSignInit) (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE_PTR phKeys, CK_ULONG ulKeysCount)
 pointer to C_NVIDIA_BatchMessageSignInit More...
 
typedef struct CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY
 CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY provides the parameters, the input, and the output for a single batch entry in a batch message-based signature or signature verification process. More...
 
typedef CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY CK_PTR CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY_PTR
 Declaration of CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY_PTR as a type. More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchSignMessage) (CK_SESSION_HANDLE hSession, CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY_PTR pBatchEntry, CK_ULONG ulBatchEntryCount)
 pointer to C_NVIDIA_BatchSignMessage More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchMessageSignFinal) (CK_SESSION_HANDLE hSession)
 pointer to C_NVIDIA_BatchMessageSignFinal More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchMessageVerifyInit) (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE_PTR phKeys, CK_ULONG ulKeysCount)
 pointer to C_NVIDIA_BatchMessageVerifyInit More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchVerifyMessage) (CK_SESSION_HANDLE hSession, CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY_PTR pBatchEntry, CK_ULONG ulBatchEntryCount)
 pointer to C_NVIDIA_BatchVerifyMessage More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchMessageVerifyFinal) (CK_SESSION_HANDLE hSession)
 pointer to C_NVIDIA_BatchMessageVerifyFinal More...
 
typedef CK_RV(* CK_C_NVIDIA_GetChannelList) (CK_ULONG_PTR pChannelIdList, CK_ULONG_PTR pulCount)
 pointer to C_NVIDIA_GetChannelIdList More...
 
typedef CK_RV(* CK_C_NVIDIA_GetChannelAttributeValue) (CK_ULONG ulChannelId, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
 pointer to C_NVIDIA_GetChannelIdAttributeValue More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchDigestInit) (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ULONG ulBatchEntryCount)
 pointer to C_NVIDIA_BatchDigestInit More...
 
typedef struct CK_NVIDIA_BATCH_DIGEST_ENTRY CK_NVIDIA_BATCH_DIGEST_ENTRY
 CK_NVIDIA_BATCH_DIGEST_ENTRY provides the parameters, the input, and the output for a single batch entry in a batch digest process. More...
 
typedef CK_NVIDIA_BATCH_DIGEST_ENTRY CK_PTR CK_NVIDIA_BATCH_DIGEST_ENTRY_PTR
 Declaration of CK_NVIDIA_BATCH_DIGEST_ENTRY_PTR as a type. More...
 
typedef CK_RV(* CK_C_NVIDIA_BatchDigest) (CK_SESSION_HANDLE hSession, CK_NVIDIA_BATCH_DIGEST_ENTRY_PTR pBatchEntry, CK_ULONG ulBatchEntryCount)
 pointer to C_NVIDIA_BatchDigest More...
 
typedef struct CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS
 CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS provides the parameters to the CKM_NVIDIA_AES_CBC_KEY_DATA_WRAP mechanism. More...
 
typedef CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS CK_PTR CK_NVIDIA_AES_CBC_KEY_DATA_WRAP_PARAMS_PTR
 Declaration of CK_AES_CBC_CUSTOM_DATA_WRAP_PARAMS_PTR as a type. More...
 
typedef struct CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS
 CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS provides the parameters to the CKM_NVIDIA_SP800_56C_TWO_STEPS_KDF mechanism. More...
 
typedef CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS CK_PTR CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS_PTR
 Declaration of CK_NVIDIA_SP800_56C_TWO_STEPS_KDF_PARAMS_PTR as a type. More...
 
typedef struct CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS
 CK_CKM_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS provides the parameters to the CKM_NVIDIA_MACSEC_AES_KEY_WRAP mechanism. More...
 
typedef CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS CK_PTR CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS_PTR
 Declaration of CK_NVIDIA_MACSEC_AES_KEY_WRAP_PARAMS_PTR as a type. More...
 
typedef struct CK_NVIDIA_ZERO_COPY_ENTRY CK_NVIDIA_ZERO_COPY_ENTRY
 CK_NVIDIA_ZERO_COPY_ENTRY provides single zero copy data address. More...
 
typedef CK_NVIDIA_ZERO_COPY_ENTRY CK_PTR CK_NVIDIA_ZERO_COPY_ENTRY_PTR
 Declaration of CK_NVIDIA_ZERO_COPY_ENTRY_PTR as a type. More...
 
typedef struct CK_NVIDIA_ZERO_COPY_LIST CK_NVIDIA_ZERO_COPY_LIST
 CK_NVIDIA_ZERO_COPY_LIST provides multiple zero copy data addresses. More...
 
typedef CK_NVIDIA_ZERO_COPY_LIST CK_PTR CK_NVIDIA_ZERO_COPY_LIST_PTR
 Declaration of CK_NVIDIA_ZERO_COPY_LIST_PTR as a type. More...
 
typedef struct CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS
 CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS provides the parameters to the CKM_NVIDIA_OX5B_SHA256_KEY_DERIVATION mechanism. More...
 
typedef CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS CK_PTR CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS_PTR
 Declaration of CK_NVIDIA_OX5B_SHA256_KEY_DERIVATION_PARAMS_PTR as a type. More...
 
typedef struct CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS
 CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS provides the parameters to the CKM_NVIDIA_SP800_56A_ONE_STEP_KDF mechanism. More...
 
typedef CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS CK_PTR CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS_PTR
 Declaration of CK_NVIDIA_SP800_56A_ONE_STEP_KDF_PARAMS_PTR as a type. More...
 
typedef struct CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS
 CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS provides the parameters to the CKM_NVIDIA_SHA256_KEY_DERIVATION mechanism. More...
 
typedef CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS CK_PTR CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS_PTR
 Declaration of CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS_PTR as a type. More...
 

Functions

CK_RV C_NVIDIA_EncryptGetIV (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pIV, CK_BYTE_PTR pIVLen)
 C_NVIDIA_EncryptGetIV gets the IV or CTR buffer data which was generated during the AES encryption for CBC, GCM or CTR mode. More...
 
CK_RV C_NVIDIA_CommitTokenObjects (CK_SESSION_HANDLE hSession, CK_FLAGS flags)
 C_NVIDIA_CommitTokenObjects writes the current state of token objects on the single dynamic token referenced by the provided session handle to secure storage. More...
 
CK_RV C_NVIDIA_InitializeChannel (CK_ULONG ulChannelId, CK_NVIDIA_CHANNEL_HANDLE_PTR phChannel, CK_NVIDIA_FLAGS_PTR pFlags)
 C_NVIDIA_InitializeChannel opens a channel to a hardware engine. More...
 
CK_RV C_NVIDIA_OpenSession (CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession, CK_NVIDIA_CHANNEL_ATTRIBUTE_PTR pChannelSettings, CK_ULONG ulChannelSettingsCount, CK_NVIDIA_FLAGS additionalFlags)
 C_NVIDIA_OpenSession opens a PKCS#11 session that can be configured to use different channels. More...
 
CK_RV C_NVIDIA_FinalizeChannel (CK_NVIDIA_CHANNEL_HANDLE hChannel)
 C_NVIDIA_FinalizeChannel closes a channel handle if it is not in use. More...
 
CK_RV C_NVIDIA_SetKATParameters (CK_FLAGS flags)
 C_NVIDIA_SetKATParameters is used exclusively by the NVIDIA KAT utility. More...
 
CK_RV C_NVIDIA_BatchMessageSignInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE_PTR phKeys, CK_ULONG ulKeysCount)
 C_NVIDIA_BatchMessageSignInit initializes a batch message-based signature process. More...
 
CK_RV C_NVIDIA_BatchSignMessage (CK_SESSION_HANDLE hSession, CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY_PTR pBatchEntry, CK_ULONG ulBatchEntryCount)
 C_NVIDIA_BatchSignMessage signs a batch of messages in a single part. More...
 
CK_RV C_NVIDIA_BatchMessageSignFinal (CK_SESSION_HANDLE hSession)
 C_NVIDIA_BatchMessageSignFinal finishes a batch message-based signature process. More...
 
CK_RV C_NVIDIA_BatchMessageVerifyInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE_PTR phKeys, CK_ULONG ulKeysCount)
 C_NVIDIA_BatchMessageVerifyInit initializes a batch message-based signature verification process. More...
 
CK_RV C_NVIDIA_BatchVerifyMessage (CK_SESSION_HANDLE hSession, CK_NVIDIA_BATCH_SIGN_VERIFY_ENTRY_PTR pBatchEntry, CK_ULONG ulBatchEntryCount)
 C_NVIDIA_BatchVerifyMessage verifies the signatures of a batch of messages in a single part. More...
 
CK_RV C_NVIDIA_BatchMessageVerifyFinal (CK_SESSION_HANDLE hSession)
 C_NVIDIA_BatchMessageVerifyFinal finishes a batch message-based signature verification process. More...
 
CK_RV C_NVIDIA_GetChannelIdList (CK_ULONG_PTR pChannelIdList, CK_ULONG_PTR pulCount)
 C_NVIDIA_GetChannelIdList retrieves a list of available channel IDs. More...
 
CK_RV C_NVIDIA_GetChannelIdAttributeValue (CK_ULONG ulChannelId, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
 C_NVIDIA_GetChannelIdAttributeValue retrieves attribute values for a specified channel. More...
 
CK_RV C_NVIDIA_BatchDigestInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ULONG ulBatchEntryCount)
 C_NVIDIA_BatchDigestInit initializes a batch digest process. More...
 
CK_RV C_NVIDIA_BatchDigest (CK_SESSION_HANDLE hSession, CK_NVIDIA_BATCH_DIGEST_ENTRY_PTR pBatchEntry, CK_ULONG ulBatchEntryCount)
 C_NVIDIA_BatchDigest processes a batch of single-part digest operations. More...