Lines Matching refs:cose_alg
472 cbor_encode_pubkey_param(int cose_alg)
483 cose_alg > -1 || cose_alg < INT16_MIN)
488 if (-cose_alg - 1 > UINT8_MAX)
489 alg.value = cbor_build_negint16((uint16_t)(-cose_alg - 1));
491 alg.value = cbor_build_negint8((uint8_t)(-cose_alg - 1));
980 get_cose_alg(const cbor_item_t *item, int *cose_alg)
986 *cose_alg = 0;
1029 *cose_alg = cose_key.alg;
1068 fido_log_debug("%s: invalid cose_alg %d", __func__, *type);
1076 decode_attcred(const unsigned char **buf, size_t *len, int cose_alg,
1118 if (attcred->type != cose_alg) {
1119 fido_log_debug("%s: cose_alg mismatch (%d != %d)", __func__,
1120 attcred->type, cose_alg);
1291 cbor_decode_cred_authdata(const cbor_item_t *item, int cose_alg,
1325 decode_attcred(&buf, &len, cose_alg, attcred) < 0)