Lines Matching defs:info
202 if (cps->info.ext_len) {
207 cps->info.ext_len);
218 n = cps->info.ext_cb(&ex);
248 ck = lws_cose_key_from_set(cps->info.keyset, sl->kid.buf, sl->kid.len);
257 alg = lws_cose_val_alg_create(cps->info.cx, ck, cps->st[0].alg,
286 if (lws_cose_val_alg_hash(alg, sig_mctx[cps->info.sigtype],
287 sig_mctx_len[cps->info.sigtype]))
325 if (cps->info.sigtype == SIGTYPE_MULTI) {
354 if (!cps->info.ext_len) { /* ie, if no app data */
365 if (cps->info.sigtype == SIGTYPE_SINGLE)
467 lwsl_notice("%s: tag sigtype %d\n", __func__, cps->info.sigtype);
469 switch (cps->info.sigtype) {
477 cps->info.sigtype = SIGTYPE_MULTI;
480 cps->info.sigtype = SIGTYPE_SINGLE;
483 // cps->info.sigtype = SIGTYPE_COUNTERSIGNED;
486 cps->info.sigtype = SIGTYPE_MAC0;
489 cps->info.sigtype = SIGTYPE_MAC;
563 if (cps->info.sigtype != SIGTYPE_SINGLE)
607 switch (cps->info.sigtype) {
706 if (cps->info.sigtype == SIGTYPE_MAC) {
783 if (cps->info.sigtype == SIGTYPE_SINGLE) {
814 if (cps->info.pay_cb && ctx->npos)
815 cps->info.pay_cb(cps, cps->info.pay_opaque,
854 if (cps->info.sigtype == SIGTYPE_MULTI) {
863 if (cps->info.sigtype != SIGTYPE_MAC)
885 if (cps->info.pay_cb && ctx->npos)
886 cps->info.pay_cb(cps, cps->info.pay_opaque,
910 if (cps->info.sigtype == SIGTYPE_MULTI)
932 if (cps->info.sigtype == SIGTYPE_MAC0) {
969 lws_cose_validate_create(const lws_cose_validate_create_info_t *info)
974 assert(info->keyset);
976 assert(info->cx);
982 cps->info = *info;