Home
last modified time | relevance | path

Searched refs:sigtype (Results 1 – 6 of 6) sorted by relevance

/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/
Dsign.c708 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
741 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
778 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
817 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
856 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
885 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
923 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
961 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
999 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
1037 info.sigtype = SIGTYPE_SINGLE; in test_cose_sign()
[all …]
/third_party/libwebsockets/lib/cose/
Dcose_validate.c286 if (lws_cose_val_alg_hash(alg, sig_mctx[cps->info.sigtype], in create_alg()
287 sig_mctx_len[cps->info.sigtype])) in create_alg()
325 if (cps->info.sigtype == SIGTYPE_MULTI) { in create_alg()
365 if (cps->info.sigtype == SIGTYPE_SINGLE) in create_alg()
467 lwsl_notice("%s: tag sigtype %d\n", __func__, cps->info.sigtype); in cb_cose_sig()
469 switch (cps->info.sigtype) { in cb_cose_sig()
477 cps->info.sigtype = SIGTYPE_MULTI; in cb_cose_sig()
480 cps->info.sigtype = SIGTYPE_SINGLE; in cb_cose_sig()
486 cps->info.sigtype = SIGTYPE_MAC0; in cb_cose_sig()
489 cps->info.sigtype = SIGTYPE_MAC; in cb_cose_sig()
[all …]
Dcose_sign.c40 if (info->sigtype == SIGTYPE_MAC) { in lws_cose_sign_create()
144 if (!csc->info.sigtype && csc->type == SIGTYPE_MAC) { in lws_cose_sign_payload_chunk()
148 if (!csc->info.sigtype || in lws_cose_sign_payload_chunk()
149 csc->info.sigtype == SIGTYPE_SINGLE) /* ie, if no hint */ in lws_cose_sign_payload_chunk()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
Dmain.c97 enum lws_cose_sig_types sigtype = SIGTYPE_UNKNOWN; in main() local
153 sigtype = SIGTYPE_MULTI; in main()
156 sigtype = SIGTYPE_SINGLE; in main()
159 sigtype = SIGTYPE_MAC; in main()
162 sigtype = SIGTYPE_MAC0; in main()
245 i.sigtype = sigtype; in main()
312 vi.sigtype = sigtype; in main()
/third_party/libwebsockets/include/libwebsockets/
Dlws-cose.h399 enum lws_cose_sig_types sigtype; member
478 enum lws_cose_sig_types sigtype; member
/third_party/libwebsockets/READMEs/
DREADME.cbor-cose.md137 enum lws_cose_sig_types sigtype;
231 enum lws_cose_sig_types sigtype;