Lines Matching refs:cose_alg
337 int cose_alg;
377 if ((cose_alg = cred->attstmt.alg) == COSE_UNSPEC)
378 cose_alg = COSE_ES256; /* backwards compat */
381 if (fido_get_signed_hash(cose_alg, &dgst, &cred->cdh,
505 fido_log_debug("%s: unsupported cose_alg %d", __func__,
987 fido_cred_set_type(fido_cred_t *cred, int cose_alg)
991 if (cose_alg != COSE_ES256 && cose_alg != COSE_ES384 &&
992 cose_alg != COSE_RS256 && cose_alg != COSE_EDDSA)
995 cred->type = cose_alg;