Home
last modified time | relevance | path

Searched refs:TPM_ALG_NULL (Results 1 – 25 of 32) sorted by relevance

12

/external/tpm2/
DCpriDataEcc.c344 {TPM_ALG_NULL,TPM_ALG_NULL},
354 {TPM_ALG_NULL,TPM_ALG_NULL},
364 {TPM_ALG_NULL,{{TPM_ALG_NULL}}},
374 {TPM_ALG_NULL,{{TPM_ALG_NULL}}},
384 {TPM_ALG_NULL,TPM_ALG_NULL},
393 {TPM_ALG_NULL,{{TPM_ALG_NULL}}},
394 {TPM_ALG_NULL,{{TPM_ALG_NULL}}},
403 {TPM_ALG_NULL,TPM_ALG_NULL},
404 {TPM_ALG_NULL,TPM_ALG_NULL},
414 {TPM_ALG_NULL,TPM_ALG_NULL},
DHMAC_Start.c49 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL) in TPM2_HMAC_Start()
58 if(in->hashAlg != TPM_ALG_NULL && in->hashAlg != hashAlg) in TPM2_HMAC_Start()
59 hashAlg = TPM_ALG_NULL; in TPM2_HMAC_Start()
62 if(hashAlg == TPM_ALG_NULL) in TPM2_HMAC_Start()
DObject_spt.c365 && keyScheme->scheme != TPM_ALG_NULL) in SchemeChecks()
370 && keyScheme->scheme == TPM_ALG_NULL) in SchemeChecks()
380 if( keyScheme->scheme != TPM_ALG_NULL in SchemeChecks()
400 if(curveScheme->scheme != TPM_ALG_NULL) in SchemeChecks()
405 if( curveScheme->details.anySig.hashAlg != TPM_ALG_NULL in SchemeChecks()
413 if(publicArea->parameters.eccDetail.kdf.scheme != TPM_ALG_NULL) in SchemeChecks()
423 == TPM_ALG_NULL) in SchemeChecks()
426 if(publicArea->parameters.asymDetail.scheme.scheme != TPM_ALG_NULL) in SchemeChecks()
445 != TPM_ALG_NULL) in SchemeChecks()
461 if(scheme->scheme != TPM_ALG_NULL) in SchemeChecks()
[all …]
DHMAC.c49 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL) in TPM2_HMAC()
58 if(in->hashAlg != TPM_ALG_NULL && in->hashAlg != hashAlg) in TPM2_HMAC()
59 hashAlg = TPM_ALG_NULL; in TPM2_HMAC()
62 if(hashAlg == TPM_ALG_NULL) in TPM2_HMAC()
DDuplicate.c50 if(object->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_Duplicate()
62 if(in->symmetricAlg.algorithm == TPM_ALG_NULL) in TPM2_Duplicate()
68 if(in->symmetricAlg.algorithm == TPM_ALG_NULL) in TPM2_Duplicate()
DObject.c147 if(object->publicArea.nameAlg == TPM_ALG_NULL) in ObjectGetName()
186 if(object->publicArea.nameAlg == TPM_ALG_NULL) in ObjectGetQualifiedName()
423 (*object)->type = TPM_ALG_NULL; in AllocateSequenceSlot()
425 (*object)->nameAlg = TPM_ALG_NULL; in AllocateSequenceSlot()
526 for(count = 0; (hash = CryptGetHashAlgByIndex(count)) != TPM_ALG_NULL; count++) in ObjectCreateEventSequence()
559 for(count = 0; CryptGetHashAlgByIndex(count) != TPM_ALG_NULL; count++) in ObjectTerminateEvent()
728 if(publicArea->nameAlg == TPM_ALG_NULL) in ObjectComputeName()
DChangePPS.c36 gc.platformAlg = TPM_ALG_NULL; in TPM2_ChangePPS()
52 gp.pcrPolicies.hashAlg[i] = TPM_ALG_NULL; in TPM2_ChangePPS()
DHierarchy.c38 gp.ownerAlg = TPM_ALG_NULL; in HierarchyPreInstall_Init()
40 gp.endorsementAlg = TPM_ALG_NULL; in HierarchyPreInstall_Init()
42 gp.lockoutAlg = TPM_ALG_NULL; in HierarchyPreInstall_Init()
DZGen_2Phase.c50 if(scheme != TPM_ALG_NULL) in TPM2_ZGen_2Phase()
57 if(scheme == TPM_ALG_NULL) in TPM2_ZGen_2Phase()
DCryptUtil.c63 #ifdef TPM_ALG_NULL //%
708 if(publicArea->nameAlg == TPM_ALG_NULL) in CryptGenerateKeyedHash()
715 if(scheme->scheme == TPM_ALG_NULL) in CryptGenerateKeyedHash()
947 if(keyScheme->scheme == TPM_ALG_NULL) in CryptSelectRSAScheme()
953 else if(scheme->scheme == TPM_ALG_NULL) in CryptSelectRSAScheme()
1003 TPMI_ALG_HASH hashAlg = TPM_ALG_NULL; // hash algorithm in the selected in CryptDecryptRSA()
1080 TPMI_ALG_HASH hashAlg = TPM_ALG_NULL; // hash algorithm in selected in CryptEncryptRSA()
1950 if(publicArea->nameAlg == TPM_ALG_NULL) in CryptGenerateKeySymmetric()
3030 OK = (curveValue->sign.scheme == TPM_ALG_NULL in CryptObjectIsPublicConsistent()
3096 else if(publicArea->nameAlg != TPM_ALG_NULL) in CryptObjectPublicPrivateMatch()
[all …]
DEncryptDecrypt.c42 if( in->mode == TPM_ALG_NULL) in TPM2_EncryptDecrypt()
55 if(in->mode == TPM_ALG_NULL) in TPM2_EncryptDecrypt()
Dtpm_generated.c659 #ifdef TPM_ALG_NULL in TPM_ALG_ID_Unmarshal()
660 if (*target == TPM_ALG_NULL) { in TPM_ALG_ID_Unmarshal()
879 if (*target == TPM_ALG_NULL) { in TPMI_ALG_HASH_Unmarshal()
1969 #ifdef TPM_ALG_NULL in TPMU_SYM_KEY_BITS_Marshal()
1970 case TPM_ALG_NULL: in TPMU_SYM_KEY_BITS_Marshal()
2001 #ifdef TPM_ALG_NULL in TPMU_SYM_KEY_BITS_Unmarshal()
2002 case TPM_ALG_NULL: in TPMU_SYM_KEY_BITS_Unmarshal()
2025 if (*target == TPM_ALG_NULL) { in TPMI_ALG_SYM_MODE_Unmarshal()
2077 #ifdef TPM_ALG_NULL in TPMU_SYM_MODE_Marshal()
2078 case TPM_ALG_NULL: in TPMU_SYM_MODE_Marshal()
[all …]
DHashSequenceStart.c24 if(in->hashAlg == TPM_ALG_NULL) in TPM2_HashSequenceStart()
DCpriHashData.c31 {TPM_ALG_NULL,0,0,0,{0}}
DCpriRSA.c810 hashAlg != TPM_ALG_NULL && in RSASSA_Encode()
818 hashAlg != TPM_ALG_NULL && in RSASSA_Encode()
948 case TPM_ALG_NULL: // 'raw' encryption in _cpri__EncryptRSA()
1026 case TPM_ALG_NULL: in _cpri__DecryptRSA()
1073 case TPM_ALG_NULL: in _cpri__SignRSA()
1134 case TPM_ALG_NULL: in _cpri__ValidateSignatureRSA()
DChangeEPS.c43 gp.endorsementAlg = TPM_ALG_NULL; in TPM2_ChangeEPS()
DSetCommandCodeAuditStatus.c29 if( in->auditAlg != TPM_ALG_NULL in TPM2_SetCommandCodeAuditStatus()
DQuote.c56 if(hashAlg == TPM_ALG_NULL) in TPM2_Quote()
DVerifySignature.c50 || signObject->publicArea.nameAlg == TPM_ALG_NULL) in TPM2_VerifySignature()
DECDH_ZGen.c45 && eccKey->publicArea.parameters.eccDetail.scheme.scheme != TPM_ALG_NULL) in TPM2_ECDH_ZGen()
DSign.c68 in->inScheme.details.any.hashAlg != TPM_ALG_NULL && in TPM2_Sign()
DLoadExternal.c77 skipChecks = (in->inPublic.t.publicArea.nameAlg == TPM_ALG_NULL); in TPM2_LoadExternal()
DStartAuthSession.c91 if( in->symmetric.algorithm != TPM_ALG_NULL in TPM2_StartAuthSession()
DClear.c58 gp.ownerAlg = gp.endorsementAlg = gp.lockoutAlg = TPM_ALG_NULL; in TPM2_Clear()
DImport.c96 if(in->symmetricAlg.algorithm != TPM_ALG_NULL) in TPM2_Import()

12