/external/tpm2/ |
D | Object.c | 147 if(object->publicArea.nameAlg == TPM_ALG_NULL) in ObjectGetName() 166 return object->publicArea.nameAlg; in ObjectGetNameAlg() 186 if(object->publicArea.nameAlg == TPM_ALG_NULL) in ObjectGetQualifiedName() 364 ObjectComputeQualifiedName(&parentQN, publicArea->nameAlg, in ObjectLoad() 425 (*object)->nameAlg = TPM_ALG_NULL; in AllocateSequenceSlot() 728 if(publicArea->nameAlg == TPM_ALG_NULL) in ObjectComputeName() 734 name->t.size = CryptStartHash(publicArea->nameAlg, &hashState); in ObjectComputeName() 744 UINT16_TO_BYTE_ARRAY(publicArea->nameAlg, name->t.name); in ObjectComputeName() 758 TPM_ALG_ID nameAlg, // IN: name hash in ObjectComputeQualifiedName() argument 766 qualifiedName->t.size = CryptStartHash(nameAlg, &hashState); in ObjectComputeQualifiedName() [all …]
|
D | Object_spt_fp.h | 23 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. 50 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It is passed 93 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It is passed 111 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. This parameter
|
D | ObjectChangeAuth.c | 43 > CryptGetHashDigestSize(object->publicArea.nameAlg)) in TPM2_ObjectChangeAuth() 51 ObjectComputeQualifiedName(&parentQN, object->publicArea.nameAlg, in TPM2_ObjectChangeAuth() 67 object->publicArea.nameAlg, in TPM2_ObjectChangeAuth()
|
D | Rewrap.c | 66 oldParent->publicArea.nameAlg, (TPM2B_SEED *) &data, in TPM2_Rewrap() 74 CryptGetHashDigestSize(oldParent->publicArea.nameAlg); in TPM2_Rewrap() 105 CryptGetHashDigestSize(newParent->publicArea.nameAlg); in TPM2_Rewrap() 112 newParent->publicArea.nameAlg, in TPM2_Rewrap()
|
D | Create.c | 87 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_Create() 99 FillInCreationData(in->parentHandle, in->inPublic.t.publicArea.nameAlg, in TPM2_Create() 115 out->outPublic.t.publicArea.nameAlg, in TPM2_Create()
|
D | Object_spt.c | 39 if(publicArea1->nameAlg != publicArea2->nameAlg) in EqualCryptSet() 539 != CryptGetHashDigestSize(publicArea->nameAlg) in PublicAttributesValidation() 631 parentObject->publicArea.nameAlg; in FillInCreationData() 861 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. This in SensitiveToPrivate() argument 880 hashAlg = nameAlg; in SensitiveToPrivate() 936 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It is in PrivateToSensitive() argument 963 hashAlg = nameAlg; in PrivateToSensitive() 1025 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It in SensitiveToDuplicate() argument 1062 innerHash = nameAlg; in SensitiveToDuplicate() 1152 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. in DuplicateToSensitive() argument [all …]
|
D | NV_Extend.c | 63 oldDigest.t.size = CryptGetHashDigestSize(nvIndex.publicArea.nameAlg); in TPM2_NV_Extend() 75 newDigest.t.size = CryptStartHash(nvIndex.publicArea.nameAlg, &hashState); in TPM2_NV_Extend()
|
D | CreatePrimary.c | 63 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_CreatePrimary() 80 FillInCreationData(in->primaryHandle, in->inPublic.t.publicArea.nameAlg, in TPM2_CreatePrimary()
|
D | LoadExternal.c | 50 CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_LoadExternal() 77 skipChecks = (in->inPublic.t.publicArea.nameAlg == TPM_ALG_NULL); in TPM2_LoadExternal()
|
D | Duplicate.c | 50 if(object->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_Duplicate() 111 object->publicArea.nameAlg, (TPM2B_SEED *) &data, in TPM2_Duplicate()
|
D | CryptUtil.c | 710 hashAlg = publicArea->nameAlg; in CryptGenerateKeyedHash() 738 CryptComputeSymmetricUnique(publicArea->nameAlg, in CryptGenerateKeyedHash() 1965 CryptComputeSymmetricUnique(publicArea->nameAlg, in CryptGenerateKeySymmetric() 2394 data->t.size = CryptGetHashDigestSize(encryptKey->publicArea.nameAlg); in CryptSecretEncrypt() 2404 scheme.details.oaep.hashAlg = encryptKey->publicArea.nameAlg; in CryptSecretEncrypt() 2463 CryptKDFe(encryptKey->publicArea.nameAlg, &eccSecret.x.b, in CryptSecretEncrypt() 2523 scheme.details.oaep.hashAlg = decryptKey->publicArea.nameAlg; in CryptSecretDecrypt() 2532 > CryptGetHashDigestSize(decryptKey->publicArea.nameAlg))) in CryptSecretDecrypt() 2557 CryptGetHashDigestSize(decryptKey->publicArea.nameAlg); in CryptSecretDecrypt() 2571 CryptKDFe(decryptKey->publicArea.nameAlg, &eccSecret.x.b, label, in CryptSecretDecrypt() [all …]
|
D | Import.c | 144 in->objectPublic.t.publicArea.nameAlg, in TPM2_Import() 182 in->objectPublic.t.publicArea.nameAlg, in TPM2_Import()
|
D | NV_ChangeAuth.c | 39 if(in->newAuth.t.size > CryptGetHashDigestSize(nvIndex.publicArea.nameAlg)) in TPM2_NV_ChangeAuth()
|
D | Entity.c | 291 hashAlg = object->publicArea.nameAlg; in EntityGetAuthPolicy() 300 hashAlg = nvIndex.publicArea.nameAlg; in EntityGetAuthPolicy()
|
D | MakeCredential.c | 46 if(in->credential.t.size > CryptGetHashDigestSize(object->publicArea.nameAlg)) in TPM2_MakeCredential()
|
D | VerifySignature.c | 50 || signObject->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_VerifySignature()
|
D | Load.c | 83 in->inPublic.t.publicArea.nameAlg, in TPM2_Load()
|
D | Object_fp.h | 23 TPM_ALG_ID nameAlg, // IN: name hash
|
D | Commit.c | 85 P2.x.t.size = CryptHashBlock(eccKey->publicArea.nameAlg, in TPM2_Commit()
|
D | Attest_spt.c | 82 hashAlg = signObject->publicArea.nameAlg; in FillInAttestInfo()
|
D | NV_DefineSpace.c | 32 nameSize = CryptGetHashDigestSize(in->publicInfo.t.nvPublic.nameAlg); in TPM2_NV_DefineSpace()
|
D | CryptUtil_fp.h | 41 TPMI_ALG_HASH nameAlg, // IN: object name algorithm
|
D | Global.h | 207 TPMI_ALG_HASH nameAlg; // name algorithm member
|
/external/tpm2/generator/ |
D | raw_commands.txt | 3556 4) the decrypted salt value is larger than the size of the digest produced by the nameAlg of tpmKey; 3579 and the result will be set to be the size of the digest produced by the nameAlg of tpmKey. 3582 value that is larger than the size of the digest produced by the nameAlg of tpmKey. 3846 is larget than the digest size of the nameAlg of tpmKey; or, for an 4213 size of the obfuscation value is the size of the digest produced by the nameAlg in inPublic. This 4217 nameAlg of the object. 4277 produced by the nameAlg in inPublic is placed in TPMT_SENSITIVE.sensitive.any.buffer. 4278 4) A TPM-generated obfuscation value that is the size of the digest produced by the nameAlg of 4282 nameAlg of the object. 4296 inPublic.type, inPublic.nameAlg, and inPublic.parameters. If inPublic.type does not match, the TPM … [all …]
|
D | raw_commands_fixed.txt | 3556 4) the decrypted salt value is larger than the size of the digest produced by the nameAlg of tpmKey; 3579 and the result will be set to be the size of the digest produced by the nameAlg of tpmKey. 3582 value that is larger than the size of the digest produced by the nameAlg of tpmKey. 3848 is larget than the digest size of the nameAlg of tpmKey; or, for an 4215 size of the obfuscation value is the size of the digest produced by the nameAlg in inPublic. This 4219 nameAlg of the object. 4279 produced by the nameAlg in inPublic is placed in TPMT_SENSITIVE.sensitive.any.buffer. 4280 4) A TPM-generated obfuscation value that is the size of the digest produced by the nameAlg of 4284 nameAlg of the object. 4298 inPublic.type, inPublic.nameAlg, and inPublic.parameters. If inPublic.type does not match, the TPM … [all …]
|