|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.6 Release For Test and Development only
|
Go to the documentation of this file.
17 #ifndef NV_TE_CRYPTOGRAPHIC_CONSTANTS_H
18 #define NV_TE_CRYPTOGRAPHIC_CONSTANTS_H
1495 #ifdef VCAST_NV_CODE
1498 CRYPTO_SERVICE_VCAST_DUMP_COVERAGE = 0x00000046,
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_RSA_KEYSLOT
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_REQUEST_RO_ACCESS
Description
@ NV_TE_ALG_AES_CBC_256_NOPAD
AES-CBC w/ 256 bit key without padding.
@ KEYSTORE_SERVICE_PKCS11_SECURE_STORAGE_RESET_FILESYSTEM
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_GENERATE_AES_KEY
Description
@ KEYSTORE_SERVICE_PKCS11_INIT_KEYSTORE
Command to initialize the keystore.
@ CRYPTO_SERVICE_ENCRYPT
Perform Encryption operation This API is not implemented.
@ CRYPTO_SERVICE_AES_DO_FINAL
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOOKUP_KEY
Description
@ KEYSTORE_KEY_ATTRIBUTE_ALGO
Decryption Algorithm of encrypted key material present in the key entry.
@ CRYPTO_SERVICE_CCM_HANDLE_REQUEST
Description
NV_TE_KeystoreKeyAttribute
Defines various key attribute types supported by TOS OEM Keystore Service.
@ CRYPTO_SERVICE_AES_UPDATE
Description
@ CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_HANDLE_OPERATION
Description This command provides functionality to perform: a.
@ KEYSTORE_SERVICE_PKCS11_UNWRAP_ECC_PUB_KEY
Command to unwrap an ephemeral ECC key and write to TZDRAM.
@ KEYSTORE_SERVICE_GET_KEY_ATTRIBUTE
Description
KeySlotType
This type is used to define key slot type.
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_RSA_PUB_KEY
Description
@ CRYPTO_SERVICE_RSA_HANDLE_REQUEST
Description
@ CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_INIT
Description
@ NV_TE_ALG_AES_CBC_256
AES-CBC w/ 256 bit key.
@ CRYPTO_SERVICE_WRAP_KEK2_DERIVATION
Description
uint32_t KeySlotHandle
This type is used to define key slot handle to hold the key slot.
@ KEYSTORE_SERVICE_PKCS11_RELEASE_RSA_KEYSLOT
Description
@ KEYSTORE_SERVICE_PKCS11_COPY_AES_KEY
Description
@ CRYPTO_SERVICE_REWRAP_DERIVED_KEY_INIT
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_ECC_KEYSLOT
Description
@ KEYSTORE_SERVICE_PKCS11_UNWRAP_AES_KEY
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELINQUISH_RW_ACCESS
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_AES_KEY
Description
@ CRYPTO_SERVICE_DECRYPT
Perform Decryption operation This API is not implemented.
@ CRYPTO_SERVICE_GENERATE_AES_KEY
Description
@ CRYPTO_SERVICE_REWRAP_DERIVE_KEY_HANDLE_OPERATION
Description
@ AES_CBC_256_NOPAD
AES-256-CBC no padding.
@ NV_TE_ALG_AES_CMAC_256
AES-CMAC w/ 256 bit key.
NV_TE_KeystoreLookupType
Defines various key lookup schemes supported by TOS OEM Keystore Service.
CmacIntent
This type is used to define the intent of invoking the AES-CMAC operation.
@ CRYPTO_SERVICE_DERIVE_KEY_NIST_SP800_108
Description
@ AES_ECB_NOPAD
AES-128-ECB no padding.
@ KEYSTORE_SERVICE_PKCS11_SET_KEY_OBJ_ID
Set PKCS11 object identifier.
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_HANDLE_OPERATION
Description
@ CRYPTO_SERVICE_AES_FREE
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_GET_KEY_OBJ_METADATA
Description
@ NV_TE_ALG_AES_ECB
AES-ECB w/ 128 bit key.
@ KEYSTORE_SERVICE_PKCS11_LOAD_RSA_PUB_KEY
Description
@ KEYSTORE_LOOKUP_TYPE_ABSOLUTE
Absolute lookup.
@ KEYSTORE_SERVICE_PKCS11_SECURE_STORAGE_GET_STATE
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_AES_KEY
Command to unwrap an AES key using AES-CCM from exisiting persistent AES key and write to secure stor...
@ CRYPTO_SERVICE_CCM_FREE
Description
@ CRYPTO_SERVICE_REWRAP_DERIVE_KEY_FREE
Description
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_INIT_CBC
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELINQUISH_RO_ACCESS
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_RSA_PUB_KEY
Command to make a copy of an existing Persistent RSA public key object.
@ KEYSTORE_SERVICE_GET_KEY
Description
@ CRYPTO_SERVICE_DIGEST_FREE
Description
@ CRYPTO_SERVICE_ED25519_SET_KEY
Description
@ CRYPTO_SERVICE_UPDATE_SE_KEYSLOT
Description
@ KEYSTORE_SERVICE_PKCS11_GET_KEY_OBJ_METADATA
Description
@ NV_TE_ALG_AES_CBC
AES-CBC w/ 128 bit key.
@ KEYSTORE_LOOKUP_TYPE_BY_ID
Lookup by entry ID.
@ CRYPTO_SERVICE_ED25519_FREE
Description
@ CRYPTO_SERVICE_NIST_SP800_108_DERIVE_FROM_KEK2
Description
@ CRYPTO_SERVICE_DRBG_GENERATE
Description
@ CRYPTO_SERVICE_UNWRAP_KEY
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_ECC_PUB_KEY
Command to make a copy of an existing Persistent ECC Public key object.
@ CRYPTO_SERVICE_ECDSA_DO_FINAL
Description
@ KEYSTORE_SERVICE_PKCS11_CREATE_RSA_PUB_KEY
Command to create a new PKCS11 RSA public Key Object.
@ AES_CTR_256
AES-256-CTR.
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_DELETE_KEY
Description
@ KEYSTORE_SERVICE_PKCS11_COPY_RSA_PUB_KEY
Description
NV_TE_SeDiagServiceOperation
This type is used to contain SeDiag-Service commands.
@ SE_DIAG_SERVICE_SE_ERROR_INJECT
Description
@ KEYSTORE_SERVICE_PKCS11_LOAD_ECC_PUB_KEY
Description
@ AES_CBC
AES-128-CBC with PKCS#7 padding.
NV_TE_KeystoreServiceOperation
Defines TOS OEM Keystore Service trusted application commandIDs available to clients.
@ KEYSTORE_SERVICE_PKCS11_LOOKUP_KEY
Description
@ AES_CTR_128
AES-128-CTR.
@ CRYPTO_SERVICE_ED25519_DO_FINAL
Description
@ CRYPTO_SERVICE_DIGEST_INIT
Description
@ KEYSTORE_SERVICE_PKCS11_COPY_ECC_PUB_KEY
Command to make a copy of an existing ECC Public key object.
@ AES_CBC_256
AES-256-CBC with PKCS#7 padding.
@ KEYSTORE_SERVICE_PKCS11_GENERATE_AES_KEY
Description
@ KEYSTORE_SERVICE_PING
Description
@ NV_TE_ALG_AES_CMAC_128
AES-CMAC w/ 128 bit key.
@ CRYPTO_SERVICE_DERIVE_KEY
Description
@ CRYPTO_SERVICE_MAC_FREE
Description
@ KEYSTORE_SERVICE_PKCS11_RELEASE_ECC_KEYSLOT
Description
@ NV_TE_ALG_ED25519PH
ED25519 pre-hash.
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_FREE
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_ECC_PUB_KEY
Description
@ CRYPTO_SERVICE_ED25519_INIT
Description
KeySlotUsageInfo
This type enumerates key usage metadata types.
@ CRYPTO_SERVICE_MAC_INIT
Description
@ AES_CBC_NOPAD
AES-128-CBC no padding.
@ KEYSTORE_SERVICE_PKCS11_DELETE_KEY
Description
@ CRYPTO_SERVICE_ECDSA_INIT
Description
@ KEYSTORE_SERVICE_PKCS11_LOAD_AES_KEY
Description
@ KEYSTORE_KEY_ATTRIBUTE_IV
IV to use alongwith decryption algorithm to decrypt encrypted key material present in the key entry.
@ CRYPTO_SERVICE_AES_CCM_INIT
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_SET_KEY_OBJ_LABEL
Set PKCS11 persistent object label.
@ KEYSTORE_LOOKUP_TYPE_RELATIVE
Lookup relative to UUID.If there are more than one keys present for a given UUID, clients can use thi...
@ CRYPTO_SERVICE_DIGEST_UPDATE
Description
@ KEYSTORE_SERVICE_PKCS11_CREATE_ECC_PUB_KEY
Command to create a new PKCS11 ECC public Key Object.
@ CRYPTO_SERVICE_RELEASE_SE_KEYSLOT
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_AES_KEYSLOT
Description
@ CRYPTO_SERVICE_MAC_DO_FINAL
Description
@ KEYSTORE_SERVICE_PKCS11_UNWRAP_RSA_PUB_KEY
Command to unwrap an ephemeral RSA key and write to TZDRAM.
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_RSA_PUB_KEY
Command to unwrap an persistent RSA key and write to secure storage.
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_REQUEST_RW_ACCESS
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_ECC_PUB_KEY
Command to unwrap a persistent ECC key and write to secure storage.
@ KEYSLOT_USAGE_WRAPPING
KEYSLOT_USAGE_ENCRYPT, KEYSLOT_USAGE_DECRYPT and KEYSLOT_USAGE_DERIVE are allowed in compound operati...
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_INIT_CCM
Description
@ CRYPTO_SERVICE_MAC_UPDATE
Description
@ KEYSTORE_SERVICE_PKCS11_DERIVE_AES_KEY
Description
@ CRYPTO_SERVICE_DERIVE_KEK
Description
@ SE_DIAG_SERVICE_SE_VERIFY_CONFIG
Description
@ CRYPTO_SERVICE_DIGEST_DO_FINAL
Description
@ NV_TE_ALG_AES_CMAC_192
AES-CMAC w/ 192 bit key.
@ CRYPTO_SERVICE_ECDSA_FREE
Description
@ CRYPTO_SERVICE_PING
Ping to test communication with TOS Cryptography Service.
NV_TE_CryptoServiceOperation
This type is used to contain Crypto-Service commands.
@ KEYSTORE_SERVICE_PKCS11_RELEASE_AES_KEYSLOT
Description
@ CRYPTO_SERVICE_ECC_SET_KEYSLOT
Set key slot handle for ED25519 or ECDSA operation.
@ CRYPTO_SERVICE_KEY_VALIDATE_KCV
Description This command provides functionality to perform KCV verification for the key which is pro...
@ AES_ECB
AES-128-ECB with PKCS#7 padding.
@ CRYPTO_SERVICE_ECDSA_SET_KEY
Description
@ CRYPTO_SERVICE_REQUEST_SE_KEYSLOT
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_SET_KEY_OBJ_ID
Set PKCS11 persistent object identifier.
@ KEYSTORE_KEY_ATTRIBUTE_SIZE
Size of encrypted key material present in the key entry.
FuseKeySlot
This type is used to define the fuse key slots which Crypto Service uses.
@ CRYPTO_SERVICE_AES_INIT
Description
NV_TE_CryptoAlgorithm
This set of operation constants are used by NV-maintained TAs.
@ CRYPTO_SERVICE_NIST_SP800_108_DERIVE_FROM_KEK0
Description
@ CRYPTO_SERVICE_DERIVE_KEK2
Description
@ KEYSLOT_USAGE_DUAL_CRYPTO
NV_TE_OperationAlgorithm
This type is used to contain operation algorithms.
@ KEYSTORE_SERVICE_PKCS11_SET_KEY_OBJ_LABEL
Description
@ CRYPTO_SERVICE_WRAP_KEK0_DERIVATION
Description
@ CRYPTO_SERVICE_SET_KEYSLOT_OIV
Description
@ CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_FREE
Description
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_AES_KEY
Description