Home
last modified time | relevance | path

Searched refs:TPM_ALG_NULL (Results 1 – 25 of 39) 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()
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()
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 …]
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()
DChangePPS.c36 gc.platformAlg = TPM_ALG_NULL; in TPM2_ChangePPS()
52 gp.pcrPolicies.hashAlg[i] = TPM_ALG_NULL; in TPM2_ChangePPS()
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()
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()
DEncryptDecrypt.c42 if( in->mode == TPM_ALG_NULL) in TPM2_EncryptDecrypt()
55 if(in->mode == TPM_ALG_NULL) in TPM2_EncryptDecrypt()
DCryptUtil.c63 #ifdef TPM_ALG_NULL //%
709 if(scheme->scheme == TPM_ALG_NULL) in CryptGenerateKeyedHash()
941 if(keyScheme->scheme == TPM_ALG_NULL) in CryptSelectRSAScheme()
947 else if(scheme->scheme == TPM_ALG_NULL) in CryptSelectRSAScheme()
997 TPMI_ALG_HASH hashAlg = TPM_ALG_NULL; // hash algorithm in the selected in CryptDecryptRSA()
1074 TPMI_ALG_HASH hashAlg = TPM_ALG_NULL; // hash algorithm in selected in CryptEncryptRSA()
3018 OK = (curveValue->sign.scheme == TPM_ALG_NULL in CryptObjectIsPublicConsistent()
3084 else if(publicArea->nameAlg != TPM_ALG_NULL) in CryptObjectPublicPrivateMatch()
3117 && publicArea->nameAlg != TPM_ALG_NULL) in CryptObjectPublicPrivateMatch()
3142 pAssert(auth->sigAlg != TPM_ALG_NULL); in CryptGetSignHashAlg()
[all …]
DHashSequenceStart.c24 if(in->hashAlg == TPM_ALG_NULL) in TPM2_HashSequenceStart()
DCpriHashData.c31 {TPM_ALG_NULL,0,0,0,{0}}
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 …]
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()
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()
/external/tpm2/generator/
Dstructures.txt83 _NAME TPM_ALG_NULL
778 _CONDITIONAL TPM_ALG_NULL
784 _CONDITIONAL TPM_ALG_NULL
791 _CONDITIONAL TPM_ALG_NULL
797 _CONDITIONAL TPM_ALG_NULL
806 _CONDITIONAL TPM_ALG_NULL
814 _CONDITIONAL TPM_ALG_NULL
825 _CONDITIONAL TPM_ALG_NULL
832 _CONDITIONAL TPM_ALG_NULL
861 _CONDITIONAL TPM_ALG_NULL
[all …]
Dcommands.txt128 _COMMENT the algorithm and key size for parameter encryption may select TPM_ALG_NULL
131 …lgorithm to use for the session Shall be a hash algorithm supported by the TPM and not TPM_ALG_NULL
431 …n for the symmetric algorithm to be used for the inner wrapper may be TPM_ALG_NULL if no inner wra…
442 _COMMENT If the caller provided an encryption key or if symmetricAlg was TPM_ALG_NULL, then this wi…
498 …yption key used as the inner wrapper for duplicate If symmetricAlg is TPM_ALG_NULL, then this para…
510 …symmetric algorithm to use for the inner wrapper If this algorithm is TPM_ALG_NULL, no inner wrapp…
539 …dle. the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL optional label …
567 _COMMENT the padding scheme to use if scheme associated with keyHandle is TPM_ALG_NULL
705 …c mode For a restricted key, this field shall match the default mode of the key or be TPM_ALG_NULL.
740 _COMMENT algorithm for the hash being computed – shall not be TPM_ALG_NULL
[all …]

12