Home
last modified time | relevance | path

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

/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jws/
Dmain.c122 if (lws_jws_alloc_element(&jws.map_b64, LJWS_SIG, in main()
135 (char *)jws.map_b64.buf[LJWS_SIG], in main()
136 jws.map_b64.len[LJWS_SIG]); in main()
142 jws.map_b64.len[LJWS_SIG] = (uint32_t)n; in main()
177 lwsl_hexdump_notice(jws.map.buf[LJWS_SIG], jws.map.len[LJWS_SIG]); in main()
181 lwsl_hexdump_notice(jws.map_b64.buf[LJWS_SIG], jws.map_b64.len[LJWS_SIG]); in main()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djws.c339 (char *)jws.map_b64.buf[LJWS_SIG], in test_jws_RS256()
340 jws.map_b64.len[LJWS_SIG] + 8); in test_jws_RS256()
345 jws.map_b64.len[LJWS_SIG] = (unsigned int)n; in test_jws_RS256()
509 lwsl_hexdump(jws.map_b64.buf[LJWS_SIG], jws.map_b64.len[LJWS_SIG]); in test_jws_ES256()
513 (char *)jws.map_b64.buf[LJWS_SIG], in test_jws_ES256()
514 jws.map_b64.len[LJWS_SIG] + 8); in test_jws_ES256()
519 jws.map_b64.len[LJWS_SIG] = (unsigned int)n; in test_jws_ES256()
521 lwsl_hexdump(jws.map_b64.buf[LJWS_SIG], jws.map_b64.len[LJWS_SIG]); in test_jws_ES256()
673 (char *)jws.map_b64.buf[LJWS_SIG], 1024); in test_jws_ES512()
678 jws.map_b64.len[LJWS_SIG] = (unsigned int)n; in test_jws_ES512()
/third_party/libwebsockets/lib/jose/jws/
Djws.c83 m = LJWS_SIG; in lws_jws_json_cb()
461 if (!map_b64->buf[LJWS_SIG] && !map->buf[LJWS_UHDR]) in lws_jws_sig_confirm()
530 (uint8_t *)map->buf[LJWS_SIG], in lws_jws_sig_confirm()
531 map->len[LJWS_SIG]); in lws_jws_sig_confirm()
649 (uint8_t *)map->buf[LJWS_SIG], in lws_jws_sig_confirm()
650 map->len[LJWS_SIG]); in lws_jws_sig_confirm()
917 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_SIG], in lws_jws_write_flattened_json()
918 jws->map_b64.len[LJWS_SIG], len - n); in lws_jws_write_flattened_json()
946 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_SIG], in lws_jws_write_compact()
947 jws->map_b64.len[LJWS_SIG], len - n); in lws_jws_write_compact()
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-jws.h47 LJWS_SIG, enumerator
/third_party/libwebsockets/lib/jose/jwe/
Djwe.c642 jws.map_b64.buf[LJWS_SIG] = p1; in lws_jwe_create_packet()
643 jws.map_b64.len[LJWS_SIG] = (unsigned int)n; in lws_jwe_create_packet()
/third_party/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c304 jws.map_b64.buf[LJWS_SIG] = p1; in jws_create_packet()
305 jws.map_b64.len[LJWS_SIG] = (uint32_t)n; in jws_create_packet()