Home
last modified time | relevance | path

Searched refs:objectAttributes (Results 1 – 25 of 94) sorted by relevance

1234

/external/tpm2-tss/test/integration/
Dsapi-asymmetric-encrypt-decrypt.int.c69 *(UINT32 *)&(in_public.publicArea.objectAttributes) = 0; in test_invoke()
70 in_public.publicArea.objectAttributes |= TPMA_OBJECT_RESTRICTED; in test_invoke()
71 in_public.publicArea.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_invoke()
72 in_public.publicArea.objectAttributes |= TPMA_OBJECT_DECRYPT; in test_invoke()
73 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDTPM; in test_invoke()
74 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDPARENT; in test_invoke()
75 in_public.publicArea.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_invoke()
109 *(UINT32 *)&(in_public.publicArea.objectAttributes) = 0; in test_invoke()
110 in_public.publicArea.objectAttributes &= ~TPMA_OBJECT_RESTRICTED; in test_invoke()
111 in_public.publicArea.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_invoke()
[all …]
Dsapi-create-loaded.int.c47 in_public.objectAttributes |= TPMA_OBJECT_RESTRICTED; in test_invoke()
48 in_public.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_invoke()
49 in_public.objectAttributes |= TPMA_OBJECT_DECRYPT; in test_invoke()
50 in_public.objectAttributes |= TPMA_OBJECT_FIXEDTPM; in test_invoke()
51 in_public.objectAttributes |= TPMA_OBJECT_FIXEDPARENT; in test_invoke()
52 in_public.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_invoke()
Dsapi-command-cancel.int.c50 in_public.publicArea.objectAttributes |= TPMA_OBJECT_RESTRICTED; in test_invoke()
51 in_public.publicArea.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_invoke()
52 in_public.publicArea.objectAttributes |= TPMA_OBJECT_DECRYPT; in test_invoke()
53 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDTPM; in test_invoke()
54 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDPARENT; in test_invoke()
55 in_public.publicArea.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_invoke()
Dsapi-policy-template.int.c83 in_public.publicArea.objectAttributes = TPMA_OBJECT_RESTRICTED; in test_invoke()
84 in_public.publicArea.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_invoke()
85 in_public.publicArea.objectAttributes |= TPMA_OBJECT_DECRYPT; in test_invoke()
86 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDTPM; in test_invoke()
87 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDPARENT; in test_invoke()
88 in_public.publicArea.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_invoke()
Dsapi-policy-authorizeNV.int.c165 in_public.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_invoke()
166 in_public.objectAttributes |= TPMA_OBJECT_DECRYPT; in test_invoke()
167 in_public.objectAttributes |= TPMA_OBJECT_SIGN_ENCRYPT; in test_invoke()
168 in_public.objectAttributes |= TPMA_OBJECT_FIXEDTPM; in test_invoke()
169 in_public.objectAttributes |= TPMA_OBJECT_FIXEDPARENT; in test_invoke()
170 in_public.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_invoke()
Desys-hmac.int.c80 inPublic.publicArea.objectAttributes |= TPMA_OBJECT_SIGN_ENCRYPT; in test_esys_hmac()
81 inPublic.publicArea.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in test_esys_hmac()
82 inPublic.publicArea.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_esys_hmac()
Dsapi-util.c62 in_public.publicArea.objectAttributes |= TPMA_OBJECT_RESTRICTED; in create_primary_rsa_2048_aes_128_cfb()
63 in_public.publicArea.objectAttributes |= TPMA_OBJECT_USERWITHAUTH; in create_primary_rsa_2048_aes_128_cfb()
64 in_public.publicArea.objectAttributes |= TPMA_OBJECT_DECRYPT; in create_primary_rsa_2048_aes_128_cfb()
65 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDTPM; in create_primary_rsa_2048_aes_128_cfb()
66 in_public.publicArea.objectAttributes |= TPMA_OBJECT_FIXEDPARENT; in create_primary_rsa_2048_aes_128_cfb()
67 in_public.publicArea.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in create_primary_rsa_2048_aes_128_cfb()
112 .publicArea.objectAttributes = TPMA_OBJECT_DECRYPT | in create_aes_128_cfb()
185 .publicArea.objectAttributes = TPMA_OBJECT_RESTRICTED | in create_keyedhash_key()
Dsapi-create-keyedhash-sha1-hmac.int.c59 inPublic.publicArea.objectAttributes |= TPMA_OBJECT_SIGN_ENCRYPT; in test_invoke()
60 inPublic.publicArea.objectAttributes |= TPMA_OBJECT_SENSITIVEDATAORIGIN; in test_invoke()
Desys-create-fail.int.c82 .objectAttributes = (TPMA_OBJECT_USERWITHAUTH | in test_esys_create_fail()
120 .objectAttributes = (TPMA_OBJECT_USERWITHAUTH | in test_esys_create_fail()
230 .objectAttributes = (TPMA_OBJECT_USERWITHAUTH | in test_esys_create_fail()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DObject.c313 TPMA_OBJECT objectAttributes = object->publicArea.objectAttributes; in ObjectSetLoadedAttributes() local
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()
432 || ((parent != NULL) && !IS_ATTRIBUTE(parent->publicArea.objectAttributes, 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/command/Object/
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()
DActivateCredential.c76 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, decrypt) in TPM2_ActivateCredential()
77 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, in TPM2_ActivateCredential()
DMakeCredential.c71 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, TPMA_OBJECT, decrypt) in TPM2_MakeCredential()
72 || !IS_ATTRIBUTE(object->publicArea.objectAttributes, in TPM2_MakeCredential()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/AttachedComponent/
DAC_Send.c91 if(IS_ATTRIBUTE(object->publicArea.objectAttributes, 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/command/Symmetric/
DEncryptDecrypt_spt.c78 OK = !IS_ATTRIBUTE(symKey->publicArea.objectAttributes, in EncryptDecryptShared()
81 OK = OK && IS_ATTRIBUTE(symKey->publicArea.objectAttributes, in EncryptDecryptShared()
84 OK = OK && IS_ATTRIBUTE(symKey->publicArea.objectAttributes, 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/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()
82 || IS_ATTRIBUTE(signObject->publicArea.objectAttributes, in TPM2_Sign()

1234