Lines Matching defs:map
23 struct lws_jws_map map;
65 if (lws_jws_alloc_element(&jws.map, LJWS_JOSE,
72 jws.map.len[LJWS_JOSE] = (uint32_t)
73 lws_snprintf((char *)jws.map.buf[LJWS_JOSE],
101 /* add the plaintext from stdin to the map and a b64 version */
103 jws.map.buf[LJWS_PYLD] = in;
104 jws.map.len[LJWS_PYLD] = (unsigned int)n;
108 &temp_len, jws.map.buf[LJWS_PYLD],
109 jws.map.len[LJWS_PYLD]))
112 /* add the b64 JOSE header to the b64 map */
116 &temp_len, jws.map.buf[LJWS_JOSE],
117 jws.map.len[LJWS_JOSE]))
120 /* prepare the space for the b64 signature in the map */
175 lwsl_hexdump_notice(jws.map.buf[LJWS_JOSE], jws.map.len[LJWS_JOSE]);
176 lwsl_hexdump_notice(jws.map.buf[LJWS_PYLD], jws.map.len[LJWS_PYLD]);
177 lwsl_hexdump_notice(jws.map.buf[LJWS_SIG], jws.map.len[LJWS_SIG]);
187 &map, &jwk, context,
200 if (write(1, jws.map.buf[LJWS_PYLD], jws.map.len[LJWS_PYLD]) < 0) {