Home
last modified time | relevance | path

Searched refs:cose_alg (Results 1 – 8 of 8) sorted by relevance

/third_party/libwebsockets/lib/cose/
Dcose_validate_alg.c30 cose_param_t cose_alg, int op) in lws_cose_val_alg_create() argument
41 alg->cose_alg = cose_alg; in lws_cose_val_alg_create()
44 switch (cose_alg) { in lws_cose_val_alg_create()
66 if (lws_cose_key_checks(ck, LWSCOSE_WKKTV_EC2, cose_alg, in lws_cose_val_alg_create()
106 cose_alg, op, NULL)) in lws_cose_val_alg_create()
129 if (lws_cose_key_checks(ck, LWSCOSE_WKKTV_RSA, cose_alg, in lws_cose_val_alg_create()
146 (long long)cose_alg); in lws_cose_val_alg_create()
176 switch (alg->cose_alg) { in lws_cose_val_alg_hash()
207 res->cose_alg = alg->cose_alg; in lws_cose_val_alg_destroy()
213 switch (alg->cose_alg) { in lws_cose_val_alg_destroy()
[all …]
Dcose_sign_alg.c30 cose_param_t cose_alg, int op) in lws_cose_sign_alg_create() argument
41 alg->cose_alg = cose_alg; in lws_cose_sign_alg_create()
44 switch (cose_alg) { in lws_cose_sign_alg_create()
66 if (lws_cose_key_checks(ck, LWSCOSE_WKKTV_EC2, cose_alg, in lws_cose_sign_alg_create()
106 cose_alg, op, NULL)) in lws_cose_sign_alg_create()
129 if (lws_cose_key_checks(ck, LWSCOSE_WKKTV_RSA, cose_alg, in lws_cose_sign_alg_create()
147 (long long)cose_alg); in lws_cose_sign_alg_create()
175 switch (alg->cose_alg) { in lws_cose_sign_alg_hash()
206 switch (alg->cose_alg) { in lws_cose_sign_alg_complete()
232 if (alg->cose_alg == LWSCOSE_WKAHMAC_256_64) in lws_cose_sign_alg_complete()
Dprivate-lib-cose.h58 cose_param_t cose_alg; member
126 cose_param_t cose_alg, int op);
138 cose_param_t cose_alg, int op);
Dcose_sign.c131 switch (alg->cose_alg) { in lws_cose_sign_payload_chunk()
214 (long long)alg->cose_alg); in lws_cose_sign_payload_chunk()
298 (long long)alg->cose_alg); in lws_cose_sign_payload_chunk()
452 (long long)csc->alg->cose_alg); in lws_cose_sign_payload_chunk()
458 (long long)csc->alg->cose_alg); in lws_cose_sign_payload_chunk()
Dcose_key.c185 if (!key->cose_alg && key->meta[COSEKEY_META_ALG].buf) { in lws_cose_key_checks()
190 if (key->cose_alg && /* accept it being absent altogether */ in lws_cose_key_checks()
191 key->cose_alg != alg) { in lws_cose_key_checks()
413 cps->ck->cose_alg = (int)ctx->item.u.u64; in cb_cose_key()
683 cps->ck->cose_alg = wk_alg_indexes[n]; in cb_cose_key()
/third_party/libwebsockets/include/libwebsockets/
Dlws-cose.h279 cose_param_t cose_alg; member
370 cose_param_t cose_alg; member
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
Dmain.c376 lws_cose_alg_to_name(res->cose_alg), khr); in main()
/third_party/libwebsockets/READMEs/
DREADME.cbor-cose.md186 cose_param_t cose_alg;