NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
nv_te_cryptographic_constants.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
3  * NVIDIA CORPORATION and its licensors retain all intellectual property
4  * and proprietary rights in and to this software, related documentation
5  * and any modifications thereto. Any use, reproduction, disclosure or
6  * distribution of this software and related documentation without an express
7  * license agreement from NVIDIA CORPORATION is strictly prohibited.
8  */
9 
17 #ifndef NV_TE_CRYPTOGRAPHIC_CONSTANTS_H
18 #define NV_TE_CRYPTOGRAPHIC_CONSTANTS_H
19 
20 /*
21  * There is another set of crypto algorithm defined in tee_cryptographic_constants.h
22  * that are supported in TZVault. This set of operation constants are used by the
23  * openssl library, and will be removed and replaced by those in tee_cryptographic_constants.h
24  * after CCC is available
25  */
27 typedef enum {
28  AES_CBC = 1,
30  AES_ECB = 3,
32  AES_CTS = 5,
38 
42 
48 typedef enum {
56  CRYPTO_SERVICE_PING = 0x00000000,
59  CRYPTO_SERVICE_ENCRYPT = 0x00000001,
62  CRYPTO_SERVICE_DECRYPT = 0x00000002,
74 #ifndef CONFIG_TRUSTY
75  CRYPTO_SERVICE_DIGEST_INIT = 0x00000004,
103 
137 
171 
182 
254 
292 
330 
343 
399 
431 
465 
478 
533 
559 
585 
643 
665 
720 
764 
795 
809 
833 
850 
872 
884 
909 
925 
948 
962 
999 
1017 
1039 
1073 
1114 
1137 
1138 
1144 
1175 
1176 
1182 
1209 
1237 
1271 
1286 
1313 
1363 
1377 
1404 
1443 
1457 
1472 
1494 
1495 #ifdef VCAST_NV_CODE
1496  // Command to dump Vectorcast Coverage data,
1497  // this will be invoked from testing service after running all tests
1498  CRYPTO_SERVICE_VCAST_DUMP_COVERAGE = 0x00000046,
1499 #endif
1500 
1501 #endif
1503 
1505 typedef enum {
1506  NV_TE_ALG_AES_ECB = 0x10000510,
1507  NV_TE_ALG_AES_CBC = 0x10000610,
1508  NV_TE_ALG_AES_CBC_256 = 0x10000710,
1510  NV_TE_ALG_AES_CMAC_128 = 0x20000110,
1511  NV_TE_ALG_AES_CMAC_256 = 0x20000130,
1512 
1513  NV_TE_ALG_ED25519PH = 0x70006050,
1514 
1515  // Not supported
1516  NV_TE_ALG_AES_CMAC_192 = 0x20000120,
1517 
1519 
1521 
1525 
1531 typedef enum {
1543 
1555 
1557 
1562 
1565 typedef enum {
1566 
1583 
1617 
1650 
1680 
1710 
1728 
1746 
1767 
1796 
1814 
1852 
1899 
1927 
1946 
1966 
1986 
2018 
2080 
2107 
2133 
2158 
2182 
2208 
2225 
2252 
2281 
2298 
2341 
2368 
2394 
2411 
2437 
2480 
2509 
2526 
2575 
2610 
2646 
2671 
2713 
2752 
2768 
2781 
2796 
2809 
2872 
2918 
2978 
3025 
3030 typedef enum {
3048 
3053 typedef enum {
3060 
3066 
3073 
3075 
3079 
3081 typedef enum {
3094 
3096 typedef uint32_t KeySlotHandle;
3097 
3100 typedef enum {
3104 } KeySlotType;
3105 
3108 typedef enum {
3109  CMAC_VERIFY = 0x0000FFFFU,
3110  CMAC_GENERATE = 0xFFFF0000U,
3111 } CmacIntent;
3112 
3115 typedef enum {
3118 } FuseKeySlot;
3119 
3121 
3122 #endif /* NV_TE_CRYPTOGRAPHIC_CONSTANTS_H */
3123 
KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_RSA_KEYSLOT
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_RSA_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:2297
KEYSTORE_SERVICE_PKCS11_PERSISTENT_REQUEST_RO_ACCESS
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_REQUEST_RO_ACCESS
Description
Definition: nv_te_cryptographic_constants.h:2795
NV_TE_ALG_AES_CBC_256_NOPAD
@ NV_TE_ALG_AES_CBC_256_NOPAD
AES-CBC w/ 256 bit key without padding.
Definition: nv_te_cryptographic_constants.h:1509
KEYSTORE_SERVICE_PKCS11_SECURE_STORAGE_RESET_FILESYSTEM
@ KEYSTORE_SERVICE_PKCS11_SECURE_STORAGE_RESET_FILESYSTEM
Description
Definition: nv_te_cryptographic_constants.h:2017
KEYSTORE_SERVICE_PKCS11_PERSISTENT_GENERATE_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_GENERATE_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:2574
KEYSTORE_SERVICE_PKCS11_INIT_KEYSTORE
@ KEYSTORE_SERVICE_PKCS11_INIT_KEYSTORE
Command to initialize the keystore.
Definition: nv_te_cryptographic_constants.h:2670
CRYPTO_SERVICE_ENCRYPT
@ CRYPTO_SERVICE_ENCRYPT
Perform Encryption operation This API is not implemented.
Definition: nv_te_cryptographic_constants.h:59
CRYPTO_SERVICE_AES_DO_FINAL
@ CRYPTO_SERVICE_AES_DO_FINAL
Description
Definition: nv_te_cryptographic_constants.h:329
KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOOKUP_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOOKUP_KEY
Description
Definition: nv_te_cryptographic_constants.h:2132
KEYSTORE_KEY_ATTRIBUTE_ALGO
@ KEYSTORE_KEY_ATTRIBUTE_ALGO
Decryption Algorithm of encrypted key material present in the key entry.
Definition: nv_te_cryptographic_constants.h:3041
CRYPTO_SERVICE_CCM_HANDLE_REQUEST
@ CRYPTO_SERVICE_CCM_HANDLE_REQUEST
Description
Definition: nv_te_cryptographic_constants.h:794
NV_TE_KeystoreKeyAttribute
NV_TE_KeystoreKeyAttribute
Defines various key attribute types supported by TOS OEM Keystore Service.
Definition: nv_te_cryptographic_constants.h:3030
CRYPTO_SERVICE_AES_UPDATE
@ CRYPTO_SERVICE_AES_UPDATE
Description
Definition: nv_te_cryptographic_constants.h:291
CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_HANDLE_OPERATION
@ CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_HANDLE_OPERATION
Description This command provides functionality to perform: a.
Definition: nv_te_cryptographic_constants.h:1442
KEYSTORE_SERVICE_PKCS11_UNWRAP_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_UNWRAP_ECC_PUB_KEY
Command to unwrap an ephemeral ECC key and write to TZDRAM.
Definition: nv_te_cryptographic_constants.h:3023
KEYSTORE_SERVICE_GET_KEY_ATTRIBUTE
@ KEYSTORE_SERVICE_GET_KEY_ATTRIBUTE
Description
Definition: nv_te_cryptographic_constants.h:1649
KeySlotType
KeySlotType
This type is used to define key slot type.
Definition: nv_te_cryptographic_constants.h:3100
KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_RSA_PUB_KEY
Description
Definition: nv_te_cryptographic_constants.h:2280
CRYPTO_SERVICE_RSA_HANDLE_REQUEST
@ CRYPTO_SERVICE_RSA_HANDLE_REQUEST
Description
Definition: nv_te_cryptographic_constants.h:532
CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_INIT
@ CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_INIT
Description
Definition: nv_te_cryptographic_constants.h:1403
NV_TE_ALG_AES_CBC_256
@ NV_TE_ALG_AES_CBC_256
AES-CBC w/ 256 bit key.
Definition: nv_te_cryptographic_constants.h:1508
CRYPTO_SERVICE_WRAP_KEK2_DERIVATION
@ CRYPTO_SERVICE_WRAP_KEK2_DERIVATION
Description
Definition: nv_te_cryptographic_constants.h:1143
KeySlotHandle
uint32_t KeySlotHandle
This type is used to define key slot handle to hold the key slot.
Definition: nv_te_cryptographic_constants.h:3096
KEYSTORE_SERVICE_PKCS11_RELEASE_RSA_KEYSLOT
@ KEYSTORE_SERVICE_PKCS11_RELEASE_RSA_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:2224
KEYSTORE_SERVICE_PKCS11_COPY_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_COPY_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1926
CRYPTO_SERVICE_REWRAP_DERIVED_KEY_INIT
@ CRYPTO_SERVICE_REWRAP_DERIVED_KEY_INIT
Description
Definition: nv_te_cryptographic_constants.h:1312
KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_ECC_KEYSLOT
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_ECC_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:2525
KEYSTORE_SERVICE_PKCS11_UNWRAP_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_UNWRAP_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1898
KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELINQUISH_RW_ACCESS
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELINQUISH_RW_ACCESS
Description
Definition: nv_te_cryptographic_constants.h:2780
KEYSLOT_USAGE_DERIVE
@ KEYSLOT_USAGE_DERIVE
Definition: nv_te_cryptographic_constants.h:3087
KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1709
CRYPTO_SERVICE_DECRYPT
@ CRYPTO_SERVICE_DECRYPT
Perform Decryption operation This API is not implemented.
Definition: nv_te_cryptographic_constants.h:62
CRYPTO_SERVICE_GENERATE_AES_KEY
@ CRYPTO_SERVICE_GENERATE_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1072
CRYPTO_SERVICE_REWRAP_DERIVE_KEY_HANDLE_OPERATION
@ CRYPTO_SERVICE_REWRAP_DERIVE_KEY_HANDLE_OPERATION
Description
Definition: nv_te_cryptographic_constants.h:1362
KEYSLOT_TYPE_PKA1
@ KEYSLOT_TYPE_PKA1
Definition: nv_te_cryptographic_constants.h:3103
AES_CBC_256_NOPAD
@ AES_CBC_256_NOPAD
AES-256-CBC no padding.
Definition: nv_te_cryptographic_constants.h:36
NV_TE_ALG_AES_CMAC_256
@ NV_TE_ALG_AES_CMAC_256
AES-CMAC w/ 256 bit key.
Definition: nv_te_cryptographic_constants.h:1511
NV_TE_KeystoreLookupType
NV_TE_KeystoreLookupType
Defines various key lookup schemes supported by TOS OEM Keystore Service.
Definition: nv_te_cryptographic_constants.h:3053
CmacIntent
CmacIntent
This type is used to define the intent of invoking the AES-CMAC operation.
Definition: nv_te_cryptographic_constants.h:3108
CRYPTO_SERVICE_DERIVE_KEY_NIST_SP800_108
@ CRYPTO_SERVICE_DERIVE_KEY_NIST_SP800_108
Description
Definition: nv_te_cryptographic_constants.h:1113
AES_ECB_NOPAD
@ AES_ECB_NOPAD
AES-128-ECB no padding.
Definition: nv_te_cryptographic_constants.h:31
KEYSTORE_SERVICE_PKCS11_SET_KEY_OBJ_ID
@ KEYSTORE_SERVICE_PKCS11_SET_KEY_OBJ_ID
Set PKCS11 object identifier.
Definition: nv_te_cryptographic_constants.h:1945
CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_HANDLE_OPERATION
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_HANDLE_OPERATION
Description
Definition: nv_te_cryptographic_constants.h:1270
CRYPTO_SERVICE_AES_FREE
@ CRYPTO_SERVICE_AES_FREE
Description
Definition: nv_te_cryptographic_constants.h:342
KEYSTORE_SERVICE_PKCS11_PERSISTENT_GET_KEY_OBJ_METADATA
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_GET_KEY_OBJ_METADATA
Description
Definition: nv_te_cryptographic_constants.h:2157
NV_TE_ALG_AES_ECB
@ NV_TE_ALG_AES_ECB
AES-ECB w/ 128 bit key.
Definition: nv_te_cryptographic_constants.h:1506
KEYSTORE_SERVICE_PKCS11_LOAD_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_LOAD_RSA_PUB_KEY
Description
Definition: nv_te_cryptographic_constants.h:2207
KEYSTORE_LOOKUP_TYPE_ABSOLUTE
@ KEYSTORE_LOOKUP_TYPE_ABSOLUTE
Absolute lookup.
Definition: nv_te_cryptographic_constants.h:3059
KEYSTORE_SERVICE_PKCS11_SECURE_STORAGE_GET_STATE
@ KEYSTORE_SERVICE_PKCS11_SECURE_STORAGE_GET_STATE
Description
Definition: nv_te_cryptographic_constants.h:1985
KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_AES_KEY
@ 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...
Definition: nv_te_cryptographic_constants.h:2079
CRYPTO_SERVICE_CCM_FREE
@ CRYPTO_SERVICE_CCM_FREE
Description
Definition: nv_te_cryptographic_constants.h:808
CMAC_GENERATE
@ CMAC_GENERATE
Definition: nv_te_cryptographic_constants.h:3110
CRYPTO_SERVICE_REWRAP_DERIVE_KEY_FREE
@ CRYPTO_SERVICE_REWRAP_DERIVE_KEY_FREE
Description
Definition: nv_te_cryptographic_constants.h:1376
CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_INIT_CBC
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_INIT_CBC
Description
Definition: nv_te_cryptographic_constants.h:1236
KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELINQUISH_RO_ACCESS
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELINQUISH_RO_ACCESS
Description
Definition: nv_te_cryptographic_constants.h:2808
KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_RSA_PUB_KEY
Command to make a copy of an existing Persistent RSA public key object.
Definition: nv_te_cryptographic_constants.h:2340
KEYSTORE_SERVICE_GET_KEY
@ KEYSTORE_SERVICE_GET_KEY
Description
Definition: nv_te_cryptographic_constants.h:1616
CRYPTO_SERVICE_DIGEST_FREE
@ CRYPTO_SERVICE_DIGEST_FREE
Description
Definition: nv_te_cryptographic_constants.h:181
CRYPTO_SERVICE_ED25519_SET_KEY
@ CRYPTO_SERVICE_ED25519_SET_KEY
Description
Definition: nv_te_cryptographic_constants.h:924
CRYPTO_SERVICE_UPDATE_SE_KEYSLOT
@ CRYPTO_SERVICE_UPDATE_SE_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:642
KEYSTORE_SERVICE_PKCS11_GET_KEY_OBJ_METADATA
@ KEYSTORE_SERVICE_PKCS11_GET_KEY_OBJ_METADATA
Description
Definition: nv_te_cryptographic_constants.h:1766
NV_TE_ALG_AES_CBC
@ NV_TE_ALG_AES_CBC
AES-CBC w/ 128 bit key.
Definition: nv_te_cryptographic_constants.h:1507
KEYSTORE_LOOKUP_TYPE_BY_ID
@ KEYSTORE_LOOKUP_TYPE_BY_ID
Lookup by entry ID.
Definition: nv_te_cryptographic_constants.h:3071
CRYPTO_SERVICE_ED25519_FREE
@ CRYPTO_SERVICE_ED25519_FREE
Description
Definition: nv_te_cryptographic_constants.h:961
KEYSLOT_USAGE_ENCRYPT
@ KEYSLOT_USAGE_ENCRYPT
Definition: nv_te_cryptographic_constants.h:3084
KEYSLOT_USAGE_VERIFY
@ KEYSLOT_USAGE_VERIFY
Definition: nv_te_cryptographic_constants.h:3083
CRYPTO_SERVICE_NIST_SP800_108_DERIVE_FROM_KEK2
@ CRYPTO_SERVICE_NIST_SP800_108_DERIVE_FROM_KEK2
Description
Definition: nv_te_cryptographic_constants.h:1181
CRYPTO_SERVICE_DRBG_GENERATE
@ CRYPTO_SERVICE_DRBG_GENERATE
Description
Definition: nv_te_cryptographic_constants.h:558
CRYPTO_SERVICE_UNWRAP_KEY
@ CRYPTO_SERVICE_UNWRAP_KEY
Description
Definition: nv_te_cryptographic_constants.h:719
KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_ECC_PUB_KEY
Command to make a copy of an existing Persistent ECC Public key object.
Definition: nv_te_cryptographic_constants.h:2479
CRYPTO_SERVICE_ECDSA_DO_FINAL
@ CRYPTO_SERVICE_ECDSA_DO_FINAL
Description
Definition: nv_te_cryptographic_constants.h:871
KEYSTORE_SERVICE_PKCS11_CREATE_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_CREATE_RSA_PUB_KEY
Command to create a new PKCS11 RSA public Key Object.
Definition: nv_te_cryptographic_constants.h:2106
AES_CTR_256
@ AES_CTR_256
AES-256-CTR.
Definition: nv_te_cryptographic_constants.h:34
KEYSTORE_SERVICE_PKCS11_PERSISTENT_DELETE_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_DELETE_KEY
Description
Definition: nv_te_cryptographic_constants.h:2751
KEYSTORE_SERVICE_PKCS11_COPY_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_COPY_RSA_PUB_KEY
Description
Definition: nv_te_cryptographic_constants.h:2251
CMAC_VERIFY
@ CMAC_VERIFY
Definition: nv_te_cryptographic_constants.h:3109
NV_TE_SeDiagServiceOperation
NV_TE_SeDiagServiceOperation
This type is used to contain SeDiag-Service commands.
Definition: nv_te_cryptographic_constants.h:1531
SE_DIAG_SERVICE_SE_ERROR_INJECT
@ SE_DIAG_SERVICE_SE_ERROR_INJECT
Description
Definition: nv_te_cryptographic_constants.h:1554
KEYSTORE_SERVICE_PKCS11_LOAD_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_LOAD_ECC_PUB_KEY
Description
Definition: nv_te_cryptographic_constants.h:2393
AES_CBC
@ AES_CBC
AES-128-CBC with PKCS#7 padding.
Definition: nv_te_cryptographic_constants.h:28
NV_TE_KeystoreServiceOperation
NV_TE_KeystoreServiceOperation
Defines TOS OEM Keystore Service trusted application commandIDs available to clients.
Definition: nv_te_cryptographic_constants.h:1565
KEYSTORE_SERVICE_PKCS11_LOOKUP_KEY
@ KEYSTORE_SERVICE_PKCS11_LOOKUP_KEY
Description
Definition: nv_te_cryptographic_constants.h:2181
AES_CTR_128
@ AES_CTR_128
AES-128-CTR.
Definition: nv_te_cryptographic_constants.h:33
CRYPTO_SERVICE_ED25519_DO_FINAL
@ CRYPTO_SERVICE_ED25519_DO_FINAL
Description
Definition: nv_te_cryptographic_constants.h:947
CRYPTO_SERVICE_DIGEST_INIT
@ CRYPTO_SERVICE_DIGEST_INIT
Description
Definition: nv_te_cryptographic_constants.h:102
KEYSTORE_SERVICE_PKCS11_COPY_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_COPY_ECC_PUB_KEY
Command to make a copy of an existing ECC Public key object.
Definition: nv_te_cryptographic_constants.h:2436
AES_CBC_256
@ AES_CBC_256
AES-256-CBC with PKCS#7 padding.
Definition: nv_te_cryptographic_constants.h:35
KEYSTORE_SERVICE_PKCS11_GENERATE_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_GENERATE_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1795
KEYSTORE_SERVICE_PING
@ KEYSTORE_SERVICE_PING
Description
Definition: nv_te_cryptographic_constants.h:1582
NV_TE_ALG_AES_CMAC_128
@ NV_TE_ALG_AES_CMAC_128
AES-CMAC w/ 128 bit key.
Definition: nv_te_cryptographic_constants.h:1510
CRYPTO_SERVICE_DERIVE_KEY
@ CRYPTO_SERVICE_DERIVE_KEY
Description
Definition: nv_te_cryptographic_constants.h:998
KEYSLOT_USAGE_MAC
@ KEYSLOT_USAGE_MAC
Definition: nv_te_cryptographic_constants.h:3086
KEYSLOT_TYPE_RSA
@ KEYSLOT_TYPE_RSA
Definition: nv_te_cryptographic_constants.h:3102
CRYPTO_SERVICE_MAC_FREE
@ CRYPTO_SERVICE_MAC_FREE
Description
Definition: nv_te_cryptographic_constants.h:477
KEYSLOT_USAGE_SIGN
@ KEYSLOT_USAGE_SIGN
Definition: nv_te_cryptographic_constants.h:3082
CRYPTO_KEK0_KEYSLOT
@ CRYPTO_KEK0_KEYSLOT
Definition: nv_te_cryptographic_constants.h:3116
KEYSTORE_SERVICE_PKCS11_RELEASE_ECC_KEYSLOT
@ KEYSTORE_SERVICE_PKCS11_RELEASE_ECC_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:2410
NV_TE_ALG_ED25519PH
@ NV_TE_ALG_ED25519PH
ED25519 pre-hash.
Definition: nv_te_cryptographic_constants.h:1513
CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_FREE
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_FREE
Description
Definition: nv_te_cryptographic_constants.h:1285
KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_LOAD_ECC_PUB_KEY
Description
Definition: nv_te_cryptographic_constants.h:2508
CRYPTO_SERVICE_ED25519_INIT
@ CRYPTO_SERVICE_ED25519_INIT
Description
Definition: nv_te_cryptographic_constants.h:908
KeySlotUsageInfo
KeySlotUsageInfo
This type enumerates key usage metadata types.
Definition: nv_te_cryptographic_constants.h:3081
CRYPTO_SERVICE_MAC_INIT
@ CRYPTO_SERVICE_MAC_INIT
Description
Definition: nv_te_cryptographic_constants.h:398
AES_CBC_NOPAD
@ AES_CBC_NOPAD
AES-128-CBC no padding.
Definition: nv_te_cryptographic_constants.h:29
KEYSTORE_SERVICE_PKCS11_DELETE_KEY
@ KEYSTORE_SERVICE_PKCS11_DELETE_KEY
Description
Definition: nv_te_cryptographic_constants.h:1813
CRYPTO_SERVICE_ECDSA_INIT
@ CRYPTO_SERVICE_ECDSA_INIT
Description
Definition: nv_te_cryptographic_constants.h:832
KEYSTORE_SERVICE_PKCS11_LOAD_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_LOAD_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1679
KEYSTORE_KEY_ATTRIBUTE_IV
@ KEYSTORE_KEY_ATTRIBUTE_IV
IV to use alongwith decryption algorithm to decrypt encrypted key material present in the key entry.
Definition: nv_te_cryptographic_constants.h:3046
CRYPTO_SERVICE_AES_CCM_INIT
@ CRYPTO_SERVICE_AES_CCM_INIT
Description
Definition: nv_te_cryptographic_constants.h:763
KEYSTORE_SERVICE_PKCS11_PERSISTENT_SET_KEY_OBJ_LABEL
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_SET_KEY_OBJ_LABEL
Set PKCS11 persistent object label.
Definition: nv_te_cryptographic_constants.h:2645
KEYSTORE_LOOKUP_TYPE_RELATIVE
@ KEYSTORE_LOOKUP_TYPE_RELATIVE
Lookup relative to UUID.If there are more than one keys present for a given UUID, clients can use thi...
Definition: nv_te_cryptographic_constants.h:3065
CRYPTO_SERVICE_DIGEST_UPDATE
@ CRYPTO_SERVICE_DIGEST_UPDATE
Description
Definition: nv_te_cryptographic_constants.h:136
KEYSTORE_SERVICE_PKCS11_CREATE_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_CREATE_ECC_PUB_KEY
Command to create a new PKCS11 ECC public Key Object.
Definition: nv_te_cryptographic_constants.h:2367
CRYPTO_SERVICE_RELEASE_SE_KEYSLOT
@ CRYPTO_SERVICE_RELEASE_SE_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:664
KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_AES_KEYSLOT
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_RELEASE_AES_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:1727
CRYPTO_SERVICE_MAC_DO_FINAL
@ CRYPTO_SERVICE_MAC_DO_FINAL
Description
Definition: nv_te_cryptographic_constants.h:464
KEYSTORE_SERVICE_PKCS11_UNWRAP_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_UNWRAP_RSA_PUB_KEY
Command to unwrap an ephemeral RSA key and write to TZDRAM.
Definition: nv_te_cryptographic_constants.h:2917
KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_RSA_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_RSA_PUB_KEY
Command to unwrap an persistent RSA key and write to secure storage.
Definition: nv_te_cryptographic_constants.h:2871
KEYSTORE_SERVICE_PKCS11_PERSISTENT_REQUEST_RW_ACCESS
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_REQUEST_RW_ACCESS
Description
Definition: nv_te_cryptographic_constants.h:2767
KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_ECC_PUB_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_UNWRAP_ECC_PUB_KEY
Command to unwrap a persistent ECC key and write to secure storage.
Definition: nv_te_cryptographic_constants.h:2977
KEYSLOT_USAGE_WRAPPING
@ KEYSLOT_USAGE_WRAPPING
KEYSLOT_USAGE_ENCRYPT, KEYSLOT_USAGE_DECRYPT and KEYSLOT_USAGE_DERIVE are allowed in compound operati...
Definition: nv_te_cryptographic_constants.h:3092
CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_INIT_CCM
@ CRYPTO_SERVICE_CCM_UNWRAP_CBC_WRAP_INIT_CCM
Description
Definition: nv_te_cryptographic_constants.h:1208
CRYPTO_KEK2_KEYSLOT
@ CRYPTO_KEK2_KEYSLOT
Definition: nv_te_cryptographic_constants.h:3117
CRYPTO_SERVICE_MAC_UPDATE
@ CRYPTO_SERVICE_MAC_UPDATE
Description
Definition: nv_te_cryptographic_constants.h:430
KEYSTORE_SERVICE_PKCS11_DERIVE_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_DERIVE_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:1851
CRYPTO_SERVICE_DERIVE_KEK
@ CRYPTO_SERVICE_DERIVE_KEK
Description
Definition: nv_te_cryptographic_constants.h:73
SE_DIAG_SERVICE_SE_VERIFY_CONFIG
@ SE_DIAG_SERVICE_SE_VERIFY_CONFIG
Description
Definition: nv_te_cryptographic_constants.h:1542
CRYPTO_SERVICE_DIGEST_DO_FINAL
@ CRYPTO_SERVICE_DIGEST_DO_FINAL
Description
Definition: nv_te_cryptographic_constants.h:170
NV_TE_ALG_AES_CMAC_192
@ NV_TE_ALG_AES_CMAC_192
AES-CMAC w/ 192 bit key.
Definition: nv_te_cryptographic_constants.h:1516
CRYPTO_SERVICE_ECDSA_FREE
@ CRYPTO_SERVICE_ECDSA_FREE
Description
Definition: nv_te_cryptographic_constants.h:883
CRYPTO_SERVICE_PING
@ CRYPTO_SERVICE_PING
Ping to test communication with TOS Cryptography Service.
Definition: nv_te_cryptographic_constants.h:56
NV_TE_CryptoServiceOperation
NV_TE_CryptoServiceOperation
This type is used to contain Crypto-Service commands.
Definition: nv_te_cryptographic_constants.h:48
KEYSTORE_SERVICE_PKCS11_RELEASE_AES_KEYSLOT
@ KEYSTORE_SERVICE_PKCS11_RELEASE_AES_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:1745
CRYPTO_SERVICE_ECC_SET_KEYSLOT
@ CRYPTO_SERVICE_ECC_SET_KEYSLOT
Set key slot handle for ED25519 or ECDSA operation.
Definition: nv_te_cryptographic_constants.h:1471
CRYPTO_SERVICE_KEY_VALIDATE_KCV
@ CRYPTO_SERVICE_KEY_VALIDATE_KCV
Description This command provides functionality to perform KCV verification for the key which is pro...
Definition: nv_te_cryptographic_constants.h:1493
AES_ECB
@ AES_ECB
AES-128-ECB with PKCS#7 padding.
Definition: nv_te_cryptographic_constants.h:30
CRYPTO_SERVICE_ECDSA_SET_KEY
@ CRYPTO_SERVICE_ECDSA_SET_KEY
Description
Definition: nv_te_cryptographic_constants.h:849
CRYPTO_SERVICE_REQUEST_SE_KEYSLOT
@ CRYPTO_SERVICE_REQUEST_SE_KEYSLOT
Description
Definition: nv_te_cryptographic_constants.h:584
KEYSTORE_SERVICE_PKCS11_PERSISTENT_SET_KEY_OBJ_ID
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_SET_KEY_OBJ_ID
Set PKCS11 persistent object identifier.
Definition: nv_te_cryptographic_constants.h:2609
KEYSTORE_KEY_ATTRIBUTE_SIZE
@ KEYSTORE_KEY_ATTRIBUTE_SIZE
Size of encrypted key material present in the key entry.
Definition: nv_te_cryptographic_constants.h:3036
FuseKeySlot
FuseKeySlot
This type is used to define the fuse key slots which Crypto Service uses.
Definition: nv_te_cryptographic_constants.h:3115
AES_CTS
@ AES_CTS
AES-128-CTS.
Definition: nv_te_cryptographic_constants.h:32
CRYPTO_SERVICE_AES_INIT
@ CRYPTO_SERVICE_AES_INIT
Description
Definition: nv_te_cryptographic_constants.h:253
NV_TE_CryptoAlgorithm
NV_TE_CryptoAlgorithm
This set of operation constants are used by NV-maintained TAs.
Definition: nv_te_cryptographic_constants.h:27
CRYPTO_SERVICE_NIST_SP800_108_DERIVE_FROM_KEK0
@ CRYPTO_SERVICE_NIST_SP800_108_DERIVE_FROM_KEK0
Description
Definition: nv_te_cryptographic_constants.h:1174
CRYPTO_SERVICE_DERIVE_KEK2
@ CRYPTO_SERVICE_DERIVE_KEK2
Description
Definition: nv_te_cryptographic_constants.h:1038
KEYSLOT_USAGE_DUAL_CRYPTO
@ KEYSLOT_USAGE_DUAL_CRYPTO
Definition: nv_te_cryptographic_constants.h:3088
NV_TE_OperationAlgorithm
NV_TE_OperationAlgorithm
This type is used to contain operation algorithms.
Definition: nv_te_cryptographic_constants.h:1505
KEYSLOT_USAGE_DECRYPT
@ KEYSLOT_USAGE_DECRYPT
Definition: nv_te_cryptographic_constants.h:3085
KEYSTORE_SERVICE_PKCS11_SET_KEY_OBJ_LABEL
@ KEYSTORE_SERVICE_PKCS11_SET_KEY_OBJ_LABEL
Description
Definition: nv_te_cryptographic_constants.h:1965
CRYPTO_SERVICE_WRAP_KEK0_DERIVATION
@ CRYPTO_SERVICE_WRAP_KEK0_DERIVATION
Description
Definition: nv_te_cryptographic_constants.h:1136
KEYSLOT_TYPE_AES
@ KEYSLOT_TYPE_AES
Definition: nv_te_cryptographic_constants.h:3101
CRYPTO_SERVICE_SET_KEYSLOT_OIV
@ CRYPTO_SERVICE_SET_KEYSLOT_OIV
Description
Definition: nv_te_cryptographic_constants.h:1016
CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_FREE
@ CRYPTO_SERVICE_WRAP_KEK_NISTKDF_DERIVATION_FREE
Description
Definition: nv_te_cryptographic_constants.h:1456
KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_AES_KEY
@ KEYSTORE_SERVICE_PKCS11_PERSISTENT_COPY_AES_KEY
Description
Definition: nv_te_cryptographic_constants.h:2712