NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS Struct Reference

Detailed Description

CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS provides the parameters to the CKM_NVIDIA_SHA256_KEY_DERIVATION mechanism.

  • Maturity: GA

Definition at line 1525 of file nvpkcs11.h.

Data Fields

CK_BYTE_PTR pUid
 A pointer to the uid for this key derivation. More...
 
CK_ULONG ulUidLen
 Length of the uid in bytes. More...
 
CK_BYTE_PTR pNonce
 A pointer to the nonce for this key derivation. More...
 
CK_ULONG ulNonceLen
 Length of the nonce in bytes. More...
 
CK_ULONG ulKeyOffset
 Starting index in the key stream for the derived key. More...
 
CK_BYTE signature [32]
 Buffer to be overwritten with the computed signature i.e. More...
 

Field Documentation

◆ pNonce

CK_BYTE_PTR CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::pNonce

A pointer to the nonce for this key derivation.

Definition at line 1528 of file nvpkcs11.h.

◆ pUid

CK_BYTE_PTR CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::pUid

A pointer to the uid for this key derivation.

Definition at line 1526 of file nvpkcs11.h.

◆ signature

CK_BYTE CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::signature[32]

Buffer to be overwritten with the computed signature i.e.

sha256(baseKey||uid||nonce||0x02).

Definition at line 1531 of file nvpkcs11.h.

◆ ulKeyOffset

CK_ULONG CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::ulKeyOffset

Starting index in the key stream for the derived key.

Must be 0 or 16 and offset 16 is only supported when derived key length is 16B.

Definition at line 1530 of file nvpkcs11.h.

◆ ulNonceLen

CK_ULONG CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::ulNonceLen

Length of the nonce in bytes.

Must be 16.

Definition at line 1529 of file nvpkcs11.h.

◆ ulUidLen

CK_ULONG CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::ulUidLen

Length of the uid in bytes.

Must be 6.

Definition at line 1527 of file nvpkcs11.h.


The documentation for this struct was generated from the following file: