/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/ |
D | Object_spt.c | 368 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 …]
|
D | Unseal.c | 60 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()
|
D | LoadExternal.c | 102 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()
|
D | MakeCredential.c | 71 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, decrypt) in TPM2_MakeCredential() 73 TPMA_OBJECT, restricted)) in TPM2_MakeCredential()
|
D | ActivateCredential.c | 76 || !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/ |
D | Import.c | 113 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()
|
D | Duplicate.c | 84 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/ |
D | AC_Send.c | 92 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/ |
D | Object.c | 313 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/ |
D | X509_spt.c | 156 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/ |
D | EncryptDecrypt.c | 72 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()
|
D | EncryptDecrypt_spt.c | 79 TPMA_OBJECT, restricted); in EncryptDecryptShared() 82 TPMA_OBJECT, decrypt); in EncryptDecryptShared() 85 TPMA_OBJECT, sign); in EncryptDecryptShared()
|
D | MAC.c | 75 if(IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, restricted)) in TPM2_MAC() 78 if(!IS_ATTRIBUTE(publicArea->objectAttributes, TPMA_OBJECT, sign)) in TPM2_MAC()
|
D | HMAC.c | 70 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/ |
D | ECC_Decrypt.c | 58 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()
|
D | RSA_Decrypt.c | 78 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()
|
D | ECDH_ZGen.c | 67 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()
|
D | ZGen_2Phase.c | 71 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/ |
D | tss2_tpm2_types.h | 676 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/ |
D | MAC_Start.c | 77 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()
|
D | HMAC_Start.c | 71 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/ |
D | Sign.c | 72 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/ |
D | TpmSizeChecks.c | 155 TPMA_OBJECT attributes; in TpmSizeChecks() 163 SET_ATTRIBUTE(u.attributes, TPMA_OBJECT, fixedTPM); in TpmSizeChecks()
|
/external/tpm2-tss/src/tss2-mu/ |
D | tpma-types.c | 159 TPMA_MARSHAL (TPMA_OBJECT); 160 TPMA_UNMARSHAL(TPMA_OBJECT);
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | TpmTypes.h | 792 #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 …]
|