Searched refs:LJWS_PYLD (Results 1 – 6 of 6) sorted by relevance
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jws/ |
D | main.c | 103 jws.map.buf[LJWS_PYLD] = in; in main() 104 jws.map.len[LJWS_PYLD] = (unsigned int)n; in main() 106 if (lws_jws_encode_b64_element(&jws.map_b64, LJWS_PYLD, in main() 108 &temp_len, jws.map.buf[LJWS_PYLD], in main() 109 jws.map.len[LJWS_PYLD])) in main() 176 lwsl_hexdump_notice(jws.map.buf[LJWS_PYLD], jws.map.len[LJWS_PYLD]); in main() 180 lwsl_hexdump_notice(jws.map_b64.buf[LJWS_PYLD], jws.map_b64.len[LJWS_PYLD]); in main() 200 if (write(1, jws.map.buf[LJWS_PYLD], jws.map.len[LJWS_PYLD]) < 0) { in main()
|
/third_party/libwebsockets/lib/jose/jws/ |
D | jws.c | 80 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() 761 lws_genhash_update(&hash_ctx, jws->map_b64.buf[LJWS_PYLD], in lws_jws_sign_from_b64() 762 jws->map_b64.len[LJWS_PYLD]) || in lws_jws_sign_from_b64() 900 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_flattened_json() [all …]
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jws.c | 78 if (strncmp(none_payload, map.buf[LJWS_PYLD], in test_jws_none() 79 map.len[LJWS_PYLD])) { in test_jws_none() 441 if (jws.map.len[LJWS_PYLD] != strlen(es256_payload) || in test_jws_ES256() 442 strncmp(es256_payload, jws.map.buf[LJWS_PYLD], in test_jws_ES256() 443 jws.map.len[LJWS_PYLD])) { in test_jws_ES256() 501 lws_genhash_update(&hash_ctx, jws.map_b64.buf[LJWS_PYLD], in test_jws_ES256() 502 jws.map_b64.len[LJWS_PYLD]) || in test_jws_ES256() 603 if (jws.map.len[LJWS_PYLD] != strlen(es512_payload) || in test_jws_ES512() 604 strncmp(es512_payload, jws.map.buf[LJWS_PYLD], in test_jws_ES512() 605 jws.map.len[LJWS_PYLD])) { in test_jws_ES512() [all …]
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-jws.h | 46 LJWS_PYLD, enumerator
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | jwe.c | 611 jws.map_b64.buf[LJWS_PYLD] = p1; in lws_jwe_create_packet() 617 jws.map_b64.len[LJWS_PYLD] = (unsigned int)n; in lws_jwe_create_packet()
|
/third_party/libwebsockets/plugins/acme-client/ |
D | protocol_lws_acme_client.c | 283 jws.map_b64.buf[LJWS_PYLD] = p1; in jws_create_packet() 289 jws.map_b64.len[LJWS_PYLD] = (uint32_t)n; in jws_create_packet()
|