Home
last modified time | relevance | path

Searched refs:MemoryEqual2B (Results 1 – 18 of 18) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyAuthorize.c85 if(!MemoryEqual2B(&session->u2.policyDigest.b, in TPM2_PolicyAuthorize()
109 if(!MemoryEqual2B(&in->checkTicket.digest.b, &ticket.digest.b)) in TPM2_PolicyAuthorize()
DPolicy_spt.c61 if(!MemoryEqual2B(&nonce->b, &session->nonceTPM.b)) in PolicyParameterChecks()
88 && !MemoryEqual2B(&cpHashA->b, &session->u1.cpHash.b)) in PolicyParameterChecks()
DPolicyTemplate.c66 if(!MemoryEqual2B(&in->templateHash.b, &session->u1.cpHash.b)) in TPM2_PolicyTemplate()
DPolicyCpHash.c73 || !MemoryEqual2B(&in->cpHashA.b, &session->u1.cpHash.b))) in TPM2_PolicyCpHash()
DPolicyOR.c65 || (MemoryEqual2B(&session->u2.policyDigest.b, in TPM2_PolicyOR()
DPolicyPCR.c80 if(!MemoryEqual2B(&in->pcrDigest.b, &pcrDigest.b)) in TPM2_PolicyPCR()
DPolicyTicket.c105 if(!MemoryEqual2B(&in->ticket.digest.b, &ticketToCompare.digest.b)) in TPM2_PolicyTicket()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObjectChangeAuth.c78 if(!MemoryEqual2B(&object->qualifiedName.b, &QNCompare.b)) in TPM2_ObjectChangeAuth()
DObject_spt.c306 if(!MemoryEqual2B(&integrity.b, &integrityToCompare.b)) in CheckInnerIntegrity()
928 if(!MemoryEqual2B(&integrity.b, &integrityToCompare.b)) in UnwrapOuter()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DMemory_fp.h99 MemoryEqual2B(
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/
DCertifyCreation.c73 if(!MemoryEqual2B(&ticket.digest.b, &in->creationTicket.digest.b)) in TPM2_CertifyCreation()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Signature/
DSign.c90 if(!MemoryEqual2B(&in->validation.digest.b, &ticket.digest.b)) in TPM2_Sign()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Context/
DContextLoad.c107 if(!MemoryEqual2B(&integrity.b, &integrityToCompare.b)) in TPM2_ContextLoad()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c204 return MemoryEqual2B(&entity.b, &session->u1.boundEntity.b); in IsSessionBindEntity()
703 return(MemoryEqual2B(&session->u1.templateHash.b, &tHash.b)); in CompareTemplateHash()
758 if(MemoryEqual2B(&s_inputAuthValues[sessionIndex].b, &authValue.b)) in CheckPWAuthSession()
940 if(!MemoryEqual2B(&s_inputAuthValues[sessionIndex].b, &hmac.b)) in CheckSessionHMAC()
1001 if(!MemoryEqual2B(&session->u2.policyDigest.b, &authPolicy.b)) in CheckPolicyAuthSession()
1081 OK = MemoryEqual2B(&session->u1.cpHash.b, in CheckPolicyAuthSession()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DMemory.c140 MemoryEqual2B( in MemoryEqual2B() function
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccCrypt.c206 if (!MemoryEqual2B(&check.b, &c3->b)) in CryptEccDecrypt()
DAlgorithmTests.c613 if(!MemoryEqual2B(&c_ecTestEcdh_X.b, &Z.x.b) in TestECDH()
614 || !MemoryEqual2B(&c_ecTestEcdh_Y.b, &Z.y.b)) in TestECDH()
DCryptUtil.c1667 if(!MemoryEqual2B(&unique->ecc.x.b, &toCompare.x.b) in CryptValidateKeys()
1668 || !MemoryEqual2B(&unique->ecc.y.b, &toCompare.y.b)) in CryptValidateKeys()
1735 if(!MemoryEqual2B(&unique->sym.b, &compare.b)) in CryptValidateKeys()