/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptEccData.c | 565 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 577 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 589 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 601 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 613 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 624 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 625 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 636 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 637 {TPM_ALG_NULL, {{TPM_ALG_NULL}}}, 649 {TPM_ALG_NULL, {{TPM_ALG_NULL}}},
|
D | CryptUtil.c | 91 || (signature->signature.hmac.hashAlg == TPM_ALG_NULL)) in CryptHMACVerifySignature() 98 if((keyScheme->scheme != TPM_ALG_NULL) in CryptHMACVerifySignature() 142 if(scheme->scheme == TPM_ALG_NULL) in CryptGenerateKeyedHash() 676 if(scheme.scheme == TPM_ALG_NULL) in CryptSecretDecrypt() 1126 if(auth->sigAlg == TPM_ALG_NULL) in CryptGetSignHashAlg() 1174 return TPM_ALG_NULL; in CryptGetSignHashAlg() 1347 scheme->scheme = TPM_ALG_NULL; in CryptSelectSignScheme() 1348 scheme->details.any.hashAlg = TPM_ALG_NULL; in CryptSelectSignScheme() 1369 if(objectScheme->scheme == TPM_ALG_NULL) in CryptSelectSignScheme() 1372 OK = (scheme->scheme != TPM_ALG_NULL); in CryptSelectSignScheme() [all …]
|
D | CryptHash.c | 124 if(hashAlg == TPM_ALG_NULL) in CryptHashIsValidAlg() 146 hashAlg = TPM_ALG_NULL; in CryptHashGetAlgByIndex() 216 if(in->hashAlg != TPM_ALG_NULL) in CryptHashCopyState() 264 if(internalFmt->hashAlg != TPM_ALG_NULL) in CryptHashExportState() 289 if(internalFmt->hashAlg != TPM_ALG_NULL) in CryptHashImportState() 323 if((hashState->hashAlg == TPM_ALG_NULL) in HashEnd() 368 if(hashAlg == TPM_ALG_NULL) in CryptHashStart() 393 if(hashState->hashAlg != TPM_ALG_NULL) in CryptDigestUpdate() 602 if(hState->hashAlg == TPM_ALG_NULL) in CryptHmacEnd() 849 if(hashAlg == TPM_ALG_NULL || bytes == 0) in CryptKDFe()
|
D | AlgorithmTests.c | 98 pAssert(hashAlg != TPM_ALG_NULL); in TestHash() 363 CLEAR_BOTH(TPM_ALG_NULL); in TestRsaEncryptDecrypt() 364 if(scheme == TPM_ALG_NULL) in TestRsaEncryptDecrypt() 468 CLEAR_BOTH(TPM_ALG_NULL); in TestRsaSignAndVerify() 533 case TPM_ALG_NULL: in TestRsa() 888 result = TestRsa(TPM_ALG_NULL, toTest); in TestAlgorithm() 890 SET_BOTH(TPM_ALG_NULL); in TestAlgorithm() 896 case TPM_ALG_NULL: // used or RSADP in TestAlgorithm()
|
D | CryptEccCrypt.c | 59 if(scheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() 61 if(keyScheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() 63 return (scheme->scheme != TPM_ALG_NULL && in CryptEccSelectScheme()
|
D | CryptRsa.c | 966 if(keyScheme->scheme == TPM_ALG_NULL) in CryptRsaSelectScheme() 972 else if(scheme->scheme == TPM_ALG_NULL) in CryptRsaSelectScheme() 1011 TEST(TPM_ALG_NULL); in CryptRsaLoadPrivateExponent() 1090 case TPM_ALG_NULL: // 'raw' encryption in CryptRsaEncrypt() 1170 case TPM_ALG_NULL: in CryptRsaDecrypt() 1222 case TPM_ALG_NULL: in CryptRsaSign() 1393 TEST(TPM_ALG_NULL); in CryptRsaGenerateKey()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/HashHMAC/ |
D | HMAC_Start.c | 79 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL) in TPM2_HMAC_Start() 88 if(in->hashAlg != TPM_ALG_NULL && in->hashAlg != hashAlg) in TPM2_HMAC_Start() 89 hashAlg = TPM_ALG_NULL; in TPM2_HMAC_Start() 92 if(hashAlg == TPM_ALG_NULL) in TPM2_HMAC_Start()
|
D | HashSequenceStart.c | 53 if(in->hashAlg == TPM_ALG_NULL) in TPM2_HashSequenceStart()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Symmetric/ |
D | HMAC.c | 78 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL) in TPM2_HMAC() 87 if(in->hashAlg != TPM_ALG_NULL && in->hashAlg != hashAlg) in TPM2_HMAC() 88 hashAlg = TPM_ALG_NULL; in TPM2_HMAC() 91 if(hashAlg == TPM_ALG_NULL) in TPM2_HMAC()
|
D | EncryptDecrypt_spt.c | 95 if(mode != TPM_ALG_NULL) in EncryptDecryptShared() 98 if((modeIn != TPM_ALG_NULL) && (modeIn != mode)) in EncryptDecryptShared() 104 if(modeIn == TPM_ALG_NULL) in EncryptDecryptShared()
|
D | EncryptDecrypt.c | 93 if(mode != TPM_ALG_NULL) in TPM2_EncryptDecrypt() 96 if((in->mode != TPM_ALG_NULL) && (in->mode != mode)) in TPM2_EncryptDecrypt() 102 if(in->mode == TPM_ALG_NULL) in TPM2_EncryptDecrypt()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/ |
D | Object_spt.c | 328 digestSize = (nameAlg == TPM_ALG_NULL) ? sizeof(TPMU_HA) in AdjustAuthSize() 436 TPM_ALG_ID scheme = TPM_ALG_NULL; in SchemeChecks() 459 if(scheme != TPM_ALG_NULL) in SchemeChecks() 495 if(scheme != TPM_ALG_NULL) in SchemeChecks() 505 == TPM_ALG_NULL) in SchemeChecks() 514 || scheme != TPM_ALG_NULL) in SchemeChecks() 524 if(scheme != TPM_ALG_NULL) in SchemeChecks() 531 if(scheme != TPM_ALG_NULL && in SchemeChecks() 541 if(symAlgs->algorithm != TPM_ALG_NULL) in SchemeChecks() 558 if(curveScheme->scheme != TPM_ALG_NULL) in SchemeChecks() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Duplication/ |
D | Duplicate.c | 88 if(object->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_Duplicate() 101 if(in->symmetricAlg.algorithm == TPM_ALG_NULL) in TPM2_Duplicate() 107 if(in->symmetricAlg.algorithm == TPM_ALG_NULL) in TPM2_Duplicate()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
D | TableMarshalData.c | 219 {TPM_ALG_NULL, 226 {TPM_ALG_NULL, 232 {TPM_ALG_NULL, 238 {TPM_ALG_NULL, 244 {TPM_ALG_NULL, 250 {TPM_ALG_NULL, 256 {TPM_ALG_NULL, 263 {TPM_ALG_NULL, 271 {TPM_ALG_NULL, 279 {TPM_ALG_NULL, [all …]
|
D | Entity.c | 317 TPMI_ALG_HASH hashAlg = TPM_ALG_NULL; in EntityGetAuthPolicy() 401 if(object->publicArea.nameAlg == TPM_ALG_NULL) in EntityGetName()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/ |
D | Hierarchy.c | 76 gp.ownerAlg = TPM_ALG_NULL; in HierarchyPreInstall_Init() 78 gp.endorsementAlg = TPM_ALG_NULL; in HierarchyPreInstall_Init() 80 gp.lockoutAlg = TPM_ALG_NULL; in HierarchyPreInstall_Init() 129 gc.platformAlg = TPM_ALG_NULL; in HierarchyStartup()
|
D | Object.c | 202 if(object == NULL || object->publicArea.nameAlg == TPM_ALG_NULL) in GetQualifiedName() 365 && object->publicArea.nameAlg != TPM_ALG_NULL) in ObjectSetLoadedAttributes() 409 if(sensitive == NULL || publicArea->nameAlg == TPM_ALG_NULL) in ObjectLoad() 498 object->type = TPM_ALG_NULL; in AllocateSequenceSlot() 501 object->nameAlg = TPM_ALG_NULL; in AllocateSequenceSlot() 603 for(count = 0; (hash = CryptHashGetAlgByIndex(count)) != TPM_ALG_NULL; count++) in ObjectCreateEventSequence() 629 for(count = 0; CryptHashGetAlgByIndex(count) != TPM_ALG_NULL; count++) in ObjectTerminateEvent() 822 if(publicArea->nameAlg == TPM_ALG_NULL) in PublicMarshalAndComputeName()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Hierarchy/ |
D | ChangePPS.c | 67 gc.platformAlg = TPM_ALG_NULL; in TPM2_ChangePPS() 84 gp.pcrPolicies.hashAlg[i] = TPM_ALG_NULL; in TPM2_ChangePPS()
|
D | ChangeEPS.c | 73 gp.endorsementAlg = TPM_ALG_NULL; in TPM2_ChangeEPS()
|
D | Clear.c | 82 gp.ownerAlg = gp.endorsementAlg = gp.lockoutAlg = TPM_ALG_NULL; in TPM2_Clear()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/ |
D | ZGen_2Phase.c | 78 if(scheme != TPM_ALG_NULL) in TPM2_ZGen_2Phase() 85 if(scheme == TPM_ALG_NULL) in TPM2_ZGen_2Phase()
|
D | ECDH_ZGen.c | 72 && eccKey->publicArea.parameters.eccDetail.scheme.scheme != TPM_ALG_NULL) in TPM2_ECDH_ZGen()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/CommandAudit/ |
D | SetCommandCodeAuditStatus.c | 58 if(in->auditAlg != TPM_ALG_NULL && in->auditAlg != gp.auditHashAlg) in TPM2_SetCommandCodeAuditStatus()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Signature/ |
D | VerifySignature.c | 75 || signObject->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_VerifySignature()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/ |
D | Quote.c | 81 if(hashAlg == TPM_ALG_NULL) in TPM2_Quote()
|