Home
last modified time | relevance | path

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

/external/libwebsockets/minimal-examples/crypto/minimal-crypto-jws/
Dmain.c101 jws.map.buf[LJWS_PYLD] = in; in main()
102 jws.map.len[LJWS_PYLD] = n; in main()
104 if (lws_jws_encode_b64_element(&jws.map_b64, LJWS_PYLD, in main()
106 &temp_len, jws.map.buf[LJWS_PYLD], in main()
107 jws.map.len[LJWS_PYLD])) in main()
170 lwsl_hexdump_notice(jws.map.buf[LJWS_PYLD], jws.map.len[LJWS_PYLD]); in main()
174 lwsl_hexdump_notice(jws.map_b64.buf[LJWS_PYLD], jws.map_b64.len[LJWS_PYLD]); in main()
194 if (write(1, jws.map.buf[LJWS_PYLD], jws.map.len[LJWS_PYLD]) < 0) { in main()
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djws.c78 if (strncmp(none_payload, map.buf[LJWS_PYLD], in test_jws_none()
79 map.len[LJWS_PYLD])) { in test_jws_none()
440 if (jws.map.len[LJWS_PYLD] != strlen(es256_payload) || in test_jws_ES256()
441 strncmp(es256_payload, jws.map.buf[LJWS_PYLD], in test_jws_ES256()
442 jws.map.len[LJWS_PYLD])) { in test_jws_ES256()
500 lws_genhash_update(&hash_ctx, jws.map_b64.buf[LJWS_PYLD], in test_jws_ES256()
501 jws.map_b64.len[LJWS_PYLD]) || in test_jws_ES256()
601 if (jws.map.len[LJWS_PYLD] != strlen(es512_payload) || in test_jws_ES512()
602 strncmp(es512_payload, jws.map.buf[LJWS_PYLD], in test_jws_ES512()
603 jws.map.len[LJWS_PYLD])) { in test_jws_ES512()
[all …]
/external/libwebsockets/lib/jose/jws/
Djws.c80 m = LJWS_PYLD; in lws_jws_json_cb()
512 lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_PYLD], in lws_jws_sig_confirm()
513 map_b64->len[LJWS_PYLD]) || in lws_jws_sig_confirm()
564 lws_genhmac_update(&ctx, map_b64->buf[LJWS_PYLD], in lws_jws_sig_confirm()
565 map_b64->len[LJWS_PYLD]) || in lws_jws_sig_confirm()
624 lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_PYLD], in lws_jws_sig_confirm()
625 map_b64->len[LJWS_PYLD]) || in lws_jws_sig_confirm()
760 lws_genhash_update(&hash_ctx, jws->map_b64.buf[LJWS_PYLD], in lws_jws_sign_from_b64()
761 jws->map_b64.len[LJWS_PYLD]) || in lws_jws_sign_from_b64()
899 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_flattened_json()
[all …]
/external/libwebsockets/include/libwebsockets/
Dlws-jws.h46 LJWS_PYLD, enumerator
/external/libwebsockets/lib/jose/jwe/
Djwe.c611 jws.map_b64.buf[LJWS_PYLD] = p1; in lws_jwe_create_packet()
617 jws.map_b64.len[LJWS_PYLD] = n; in lws_jwe_create_packet()
/external/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c276 jws.map_b64.buf[LJWS_PYLD] = p1; in jws_create_packet()
282 jws.map_b64.len[LJWS_PYLD] = n; in jws_create_packet()