Home
last modified time | relevance | path

Searched refs:IsAlgorithmWeak (Results 1 – 10 of 10) sorted by relevance

/external/tpm2-tss/src/tss2-sys/
Dsysapi_util.c317 bool IsAlgorithmWeak(TPM2_ALG_ID algorithm, TPM2_KEY_SIZE key_size) in IsAlgorithmWeak() function
350 if (IsAlgorithmWeak(tmpl->type, tmpl->parameters.rsaDetail.keyBits) || in ValidatePublicTemplate()
351 IsAlgorithmWeak(tmpl->parameters.rsaDetail.symmetric.algorithm, in ValidatePublicTemplate()
356 if (IsAlgorithmWeak(tmpl->parameters.eccDetail.symmetric.algorithm, in ValidatePublicTemplate()
364 if (IsAlgorithmWeak(tmpl->type, in ValidatePublicTemplate()
369 if (IsAlgorithmWeak(tmpl->type, 0)) in ValidatePublicTemplate()
372 if (IsAlgorithmWeak(tmpl->nameAlg, 0)) in ValidatePublicTemplate()
383 if (IsAlgorithmWeak(nv_public->nameAlg, 0)) in ValidateNV_Public()
397 if (IsAlgorithmWeak(selection->hash, 0)) in ValidateTPML_PCR_SELECTION()
405 bool IsAlgorithmWeak(TPM2_ALG_ID algorithm, TPM2_KEY_SIZE key_size) in IsAlgorithmWeak() function
Dsysapi_util.h108 bool IsAlgorithmWeak(TPM2_ALG_ID algorith, TPM2_KEY_SIZE key_size);
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_HashSequenceStart.c26 if (IsAlgorithmWeak(hashAlg, 0)) in Tss2_Sys_HashSequenceStart_Prepare()
DTss2_Sys_SetPrimaryPolicy.c27 if (IsAlgorithmWeak(hashAlg, 0)) in Tss2_Sys_SetPrimaryPolicy_Prepare()
DTss2_Sys_SetCommandCodeAuditStatus.c28 if (IsAlgorithmWeak(auditAlg, 0)) in Tss2_Sys_SetCommandCodeAuditStatus_Prepare()
DTss2_Sys_PCR_SetAuthPolicy.c28 if (IsAlgorithmWeak(hashAlg, 0)) in Tss2_Sys_PCR_SetAuthPolicy_Prepare()
DTss2_Sys_HMAC.c27 if (IsAlgorithmWeak(hashAlg, 0)) in Tss2_Sys_HMAC_Prepare()
DTss2_Sys_HMAC_Start.c27 if (IsAlgorithmWeak(hashAlg, 0)) in Tss2_Sys_HMAC_Start_Prepare()
DTss2_Sys_Hash.c27 if (IsAlgorithmWeak(hashAlg, 0)) in Tss2_Sys_Hash_Prepare()
DTss2_Sys_StartAuthSession.c31 if (IsAlgorithmWeak(authHash, 0)) in Tss2_Sys_StartAuthSession_Prepare()