CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS provides the parameters to the CKM_NVIDIA_SHA256_KEY_DERIVATION mechanism.
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... | |
| 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.
| 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.
| 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.
| 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.
| CK_ULONG CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::ulNonceLen |
| CK_ULONG CK_NVIDIA_SHA256_KEY_DERIVATION_PARAMS::ulUidLen |