Home
last modified time | relevance | path

Searched refs:nameAlg (Results 1 – 25 of 35) sorted by relevance

12

/external/tpm2/
DObject.c147 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 …]
DObject_spt_fp.h23 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
DObjectChangeAuth.c43 > CryptGetHashDigestSize(object->publicArea.nameAlg)) in TPM2_ObjectChangeAuth()
51 ObjectComputeQualifiedName(&parentQN, object->publicArea.nameAlg, in TPM2_ObjectChangeAuth()
67 object->publicArea.nameAlg, in TPM2_ObjectChangeAuth()
DRewrap.c66 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()
DCreate.c87 > 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()
DObject_spt.c39 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 …]
DNV_Extend.c63 oldDigest.t.size = CryptGetHashDigestSize(nvIndex.publicArea.nameAlg); in TPM2_NV_Extend()
75 newDigest.t.size = CryptStartHash(nvIndex.publicArea.nameAlg, &hashState); in TPM2_NV_Extend()
DCreatePrimary.c63 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_CreatePrimary()
80 FillInCreationData(in->primaryHandle, in->inPublic.t.publicArea.nameAlg, in TPM2_CreatePrimary()
DLoadExternal.c50 CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_LoadExternal()
77 skipChecks = (in->inPublic.t.publicArea.nameAlg == TPM_ALG_NULL); in TPM2_LoadExternal()
DDuplicate.c50 if(object->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_Duplicate()
111 object->publicArea.nameAlg, (TPM2B_SEED *) &data, in TPM2_Duplicate()
DCryptUtil.c710 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 …]
DImport.c144 in->objectPublic.t.publicArea.nameAlg, in TPM2_Import()
182 in->objectPublic.t.publicArea.nameAlg, in TPM2_Import()
DNV_ChangeAuth.c39 if(in->newAuth.t.size > CryptGetHashDigestSize(nvIndex.publicArea.nameAlg)) in TPM2_NV_ChangeAuth()
DEntity.c291 hashAlg = object->publicArea.nameAlg; in EntityGetAuthPolicy()
300 hashAlg = nvIndex.publicArea.nameAlg; in EntityGetAuthPolicy()
DMakeCredential.c46 if(in->credential.t.size > CryptGetHashDigestSize(object->publicArea.nameAlg)) in TPM2_MakeCredential()
DVerifySignature.c50 || signObject->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_VerifySignature()
DLoad.c83 in->inPublic.t.publicArea.nameAlg, in TPM2_Load()
DObject_fp.h23 TPM_ALG_ID nameAlg, // IN: name hash
DCommit.c85 P2.x.t.size = CryptHashBlock(eccKey->publicArea.nameAlg, in TPM2_Commit()
DAttest_spt.c82 hashAlg = signObject->publicArea.nameAlg; in FillInAttestInfo()
DNV_DefineSpace.c32 nameSize = CryptGetHashDigestSize(in->publicInfo.t.nvPublic.nameAlg); in TPM2_NV_DefineSpace()
DCryptUtil_fp.h41 TPMI_ALG_HASH nameAlg, // IN: object name algorithm
DGlobal.h207 TPMI_ALG_HASH nameAlg; // name algorithm member
/external/tpm2/generator/
Draw_commands.txt3556 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 …]
Draw_commands_fixed.txt3556 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 …]

12