Home
last modified time | relevance | path

Searched refs:TPMA_OBJECT (Results 1 – 25 of 46) sorted by relevance

12

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c368 TPMA_OBJECT attributes = publicArea->objectAttributes; in CreateChecks()
373 if((!IS_ATTRIBUTE(attributes, TPMA_OBJECT, sensitiveDataOrigin)) in CreateChecks()
379 && (IS_ATTRIBUTE(attributes, TPMA_OBJECT, sensitiveDataOrigin)) in CreateChecks()
387 if(!IS_ATTRIBUTE(attributes, TPMA_OBJECT, sign) in CreateChecks()
388 && !IS_ATTRIBUTE(attributes, TPMA_OBJECT, decrypt) in CreateChecks()
389 && IS_ATTRIBUTE(attributes, TPMA_OBJECT, sensitiveDataOrigin)) in CreateChecks()
398 if(IS_ATTRIBUTE(attributes, TPMA_OBJECT, restricted)) in CreateChecks()
399 if(!IS_ATTRIBUTE(attributes, TPMA_OBJECT, sensitiveDataOrigin)) in CreateChecks()
400 if(IS_ATTRIBUTE(attributes, TPMA_OBJECT, fixedParent) in CreateChecks()
401 || IS_ATTRIBUTE(attributes, TPMA_OBJECT, fixedTPM)) in CreateChecks()
[all …]
DUnseal.c60 if(IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, decrypt) in TPM2_Unseal()
61 || IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, sign) in TPM2_Unseal()
62 || IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, restricted)) in TPM2_Unseal()
DLoadExternal.c102 if(IS_ATTRIBUTE(in->inPublic.publicArea.objectAttributes, TPMA_OBJECT, in TPM2_LoadExternal()
104 || IS_ATTRIBUTE(in->inPublic.publicArea.objectAttributes, TPMA_OBJECT, in TPM2_LoadExternal()
106 || IS_ATTRIBUTE(in->inPublic.publicArea.objectAttributes, TPMA_OBJECT, in TPM2_LoadExternal()
DMakeCredential.c71 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, decrypt) in TPM2_MakeCredential()
73 TPMA_OBJECT, restricted)) in TPM2_MakeCredential()
DActivateCredential.c76 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, decrypt) in TPM2_ActivateCredential()
78 TPMA_OBJECT, restricted)) in TPM2_ActivateCredential()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Duplication/
DImport.c113 TPMA_OBJECT attributes; in TPM2_Import()
121 if(IS_ATTRIBUTE(attributes, TPMA_OBJECT, fixedTPM) in TPM2_Import()
122 || IS_ATTRIBUTE(attributes, TPMA_OBJECT, fixedParent)) in TPM2_Import()
147 if(IS_ATTRIBUTE(attributes, TPMA_OBJECT, encryptedDuplication)) in TPM2_Import()
171 if(IS_ATTRIBUTE(attributes, TPMA_OBJECT, encryptedDuplication)) in TPM2_Import()
192 if(IS_ATTRIBUTE(parentObject->publicArea.objectAttributes, TPMA_OBJECT, fixedTPM)) in TPM2_Import()
DDuplicate.c84 if(IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, fixedParent)) in TPM2_Duplicate()
98 if(IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, in TPM2_Duplicate()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/AttachedComponent/
DAC_Send.c92 TPMA_OBJECT, encryptedDuplication) in TPM2_AC_Send()
93 || IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, in TPM2_AC_Send()
95 || IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, fixedTPM)) in TPM2_AC_Send()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DObject.c313 TPMA_OBJECT objectAttributes = object->publicArea.objectAttributes; in ObjectSetLoadedAttributes()
318 IS_ATTRIBUTE(objectAttributes, TPMA_OBJECT, stClear); in ObjectSetLoadedAttributes()
345 (IS_ATTRIBUTE(objectAttributes, TPMA_OBJECT, stClear) in ObjectSetLoadedAttributes()
362 if(IS_ATTRIBUTE(objectAttributes, TPMA_OBJECT, restricted) in ObjectSetLoadedAttributes()
364 && IS_ATTRIBUTE(objectAttributes, TPMA_OBJECT, decrypt) in ObjectSetLoadedAttributes()
433 TPMA_OBJECT, fixedTPM))) in ObjectLoad()
495 MemorySet(&object->objectAttributes, 0, sizeof(TPMA_OBJECT)); in AllocateSequenceSlot()
508 SET_ATTRIBUTE(object->objectAttributes, TPMA_OBJECT, noDA); in AllocateSequenceSlot()
893 && IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, restricted) in ObjectIsStorage()
894 && IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, decrypt) in ObjectIsStorage()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DX509_spt.c156 TPMA_OBJECT attributes = object->publicArea.objectAttributes; in X509ProcessExtensions()
196 && !IS_ATTRIBUTE(attributes, TPMA_OBJECT, sign); in X509ProcessExtensions()
199 && !IS_ATTRIBUTE(attributes, TPMA_OBJECT, decrypt); in X509ProcessExtensions()
203 && !IS_ATTRIBUTE(attributes, TPMA_OBJECT, fixedTPM); in X509ProcessExtensions()
206 && !IS_ATTRIBUTE(attributes, TPMA_OBJECT, restricted); in X509ProcessExtensions()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Symmetric/
DEncryptDecrypt.c72 TPMA_OBJECT attributes; in TPM2_EncryptDecrypt()
83 OK = IS_ATTRIBUTE(attributes, TPMA_OBJECT, restricted) in TPM2_EncryptDecrypt()
85 OK = OK && IS_ATTRIBUTE(attributes, TPMA_OBJECT, decrypt); in TPM2_EncryptDecrypt()
87 OK = OK && IS_ATTRIBUTE(attributes, TPMA_OBJECT, sign); in TPM2_EncryptDecrypt()
DEncryptDecrypt_spt.c79 TPMA_OBJECT, restricted); in EncryptDecryptShared()
82 TPMA_OBJECT, decrypt); in EncryptDecryptShared()
85 TPMA_OBJECT, sign); in EncryptDecryptShared()
DMAC.c75 if(IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, restricted)) in TPM2_MAC()
78 if(!IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, sign)) in TPM2_MAC()
DHMAC.c70 if(IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, restricted)) in TPM2_HMAC()
74 if(!IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, sign)) in TPM2_HMAC()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DECC_Decrypt.c58 if (IS_ATTRIBUTE(key->publicArea.objectAttributes, TPMA_OBJECT, restricted) in TPM2_ECC_Decrypt()
59 || !IS_ATTRIBUTE(key->publicArea.objectAttributes, TPMA_OBJECT, decrypt)) in TPM2_ECC_Decrypt()
DRSA_Decrypt.c78 if(IS_ATTRIBUTE(rsaKey->publicArea.objectAttributes, TPMA_OBJECT, restricted) in TPM2_RSA_Decrypt()
79 || !IS_ATTRIBUTE(rsaKey->publicArea.objectAttributes, TPMA_OBJECT, decrypt)) in TPM2_RSA_Decrypt()
DECDH_ZGen.c67 if(IS_ATTRIBUTE(eccKey->publicArea.objectAttributes, TPMA_OBJECT, restricted) in TPM2_ECDH_ZGen()
68 || !IS_ATTRIBUTE(eccKey->publicArea.objectAttributes, TPMA_OBJECT, decrypt)) in TPM2_ECDH_ZGen()
DZGen_2Phase.c71 if(IS_ATTRIBUTE(eccKey->publicArea.objectAttributes, TPMA_OBJECT, restricted) in TPM2_ZGen_2Phase()
72 || !IS_ATTRIBUTE(eccKey->publicArea.objectAttributes, TPMA_OBJECT, decrypt)) in TPM2_ZGen_2Phase()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h676 typedef uint32_t TPMA_OBJECT; typedef
678 #define TPMA_OBJECT_RESERVED1_MASK ((TPMA_OBJECT) 0x00000001) /* shall be zero */
679 #define TPMA_OBJECT_FIXEDTPM ((TPMA_OBJECT) 0x00000002) /* SET 1 The hierarchy of the o…
680 #define TPMA_OBJECT_STCLEAR ((TPMA_OBJECT) 0x00000004) /* SET 1 Previously saved conte…
681 #define TPMA_OBJECT_RESERVED2_MASK ((TPMA_OBJECT) 0x00000008) /* shall be zero */
682 #define TPMA_OBJECT_FIXEDPARENT ((TPMA_OBJECT) 0x00000010) /* SET 1 The parent of the obje…
683 #define TPMA_OBJECT_SENSITIVEDATAORIGIN ((TPMA_OBJECT) 0x00000020) /* SET 1 Indicates that when th…
684 #define TPMA_OBJECT_USERWITHAUTH ((TPMA_OBJECT) 0x00000040) /* SET 1 Approval of USER role …
685 #define TPMA_OBJECT_ADMINWITHPOLICY ((TPMA_OBJECT) 0x00000080) /* SET 1 Approval of ADMIN role…
686 #define TPMA_OBJECT_RESERVED3_MASK ((TPMA_OBJECT) 0x00000300) /* shall be zero */
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/HashHMAC/
DMAC_Start.c77 if(IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, restricted)) in TPM2_MAC_Start()
80 if(!IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, sign)) in TPM2_MAC_Start()
DHMAC_Start.c71 if(IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, restricted)) in TPM2_HMAC_Start()
75 if(!IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, sign)) in TPM2_HMAC_Start()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Signature/
DSign.c72 if(IS_ATTRIBUTE(signObject->publicArea.objectAttributes, TPMA_OBJECT, x509sign)) in TPM2_Sign()
83 TPMA_OBJECT, restricted)) in TPM2_Sign()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DTpmSizeChecks.c155 TPMA_OBJECT attributes; in TpmSizeChecks()
163 SET_ATTRIBUTE(u.attributes, TPMA_OBJECT, fixedTPM); in TpmSizeChecks()
/external/tpm2-tss/src/tss2-mu/
Dtpma-types.c159 TPMA_MARSHAL (TPMA_OBJECT);
160 TPMA_UNMARSHAL(TPMA_OBJECT);
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h792 #define UINT32_TO_TPMA_OBJECT(a) (*((TPMA_OBJECT *)&(a)))
798 typedef struct TPMA_OBJECT { // Table 2:31 struct
816 } TPMA_OBJECT; /* Bits */ argument
833 typedef UINT32 TPMA_OBJECT; typedef
835 #define TPMA_OBJECT_fixedTPM ((TPMA_OBJECT)1 << 1)
836 #define TPMA_OBJECT_stClear ((TPMA_OBJECT)1 << 2)
837 #define TPMA_OBJECT_fixedParent ((TPMA_OBJECT)1 << 4)
838 #define TPMA_OBJECT_sensitiveDataOrigin ((TPMA_OBJECT)1 << 5)
839 #define TPMA_OBJECT_userWithAuth ((TPMA_OBJECT)1 << 6)
840 #define TPMA_OBJECT_adminWithPolicy ((TPMA_OBJECT)1 << 7)
[all …]

12