Home
last modified time | relevance | path

Searched refs:cose_kty (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/
Dmain.c119 cose_param_t cose_kty = 0; in main() local
258 cose_kty = LWSCOSE_WKKTV_OKP; in main()
260 cose_kty = LWSCOSE_WKKTV_EC2; in main()
262 cose_kty = LWSCOSE_WKKTV_RSA; in main()
264 cose_kty = LWSCOSE_WKKTV_SYMMETRIC; in main()
266 if (!cose_kty) { in main()
273 if (cose_kty == LWSCOSE_WKKTV_OKP || in main()
274 cose_kty == LWSCOSE_WKKTV_EC2) { in main()
286 ck = lws_cose_key_generate(context, cose_kty, 0, bits, crv, in main()
/third_party/libwebsockets/include/libwebsockets/
Dlws-cose.h330 lws_cose_key_generate(struct lws_context *context, cose_param_t cose_kty,
/third_party/libwebsockets/lib/cose/
Dcose_key.c787 lws_cose_key_generate(struct lws_context *context, cose_param_t cose_kty, in lws_cose_key_generate() argument
800 ck->kty = cose_kty; in lws_cose_key_generate()
827 switch (cose_kty) { in lws_cose_key_generate()
/third_party/libwebsockets/READMEs/
DREADME.cbor-cose.md71 lws_cose_key_generate(struct lws_context *context, int cose_kty, int use_mask,
78 `cose_kty` is one of `LWSCOSE_WKKTV_OKP`, `LWSCOSE_WKKTV_EC2`, `LWSCOSE_WKKTV_RSA`,