Lines Matching refs:alg
58 uint16_t alg; /* TPM_ALG_SHA256 */
126 uint16_t alg; /* TPM_ALG_RSA */
137 uint16_t alg; /* TPM_ALG_ECC */
174 name->alg = TPM_ALG_SHA256; in get_signed_name()
175 name->size = sizeof(name->alg) + sizeof(name->body); in get_signed_name()
188 x->alg = htobe16(x->alg); in bswap_rs256_pubarea()
201 x->alg = htobe16(x->alg); in bswap_es256_pubarea()
220 x->name.alg = htobe16(x->name.alg); in bswap_sha1_certinfo()
238 expected.alg = TPM_ALG_RSA; in check_rs256_pubarea()
273 expected.alg = TPM_ALG_ECC; in check_es256_pubarea()
324 expected.signer.size = sizeof(expected.signer.alg) + in check_sha1_certinfo()
351 if (attstmt->alg != COSE_RS1) { in fido_get_signed_hash_tpm()
353 attstmt->alg); in fido_get_signed_hash_tpm()