Lines Matching refs:LJWS_JOSE
77 m = LJWS_JOSE; in lws_jws_json_cb()
464 if (lws_jws_parse_jose(&jose, map->buf[LJWS_JOSE], (int)map->len[LJWS_JOSE], in lws_jws_sig_confirm()
509 if (lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_JOSE], in lws_jws_sig_confirm()
510 map_b64->len[LJWS_JOSE]) || in lws_jws_sig_confirm()
561 if (lws_genhmac_update(&ctx, map_b64->buf[LJWS_JOSE], in lws_jws_sig_confirm()
562 map_b64->len[LJWS_JOSE]) || in lws_jws_sig_confirm()
621 lws_genhash_update(&hash_ctx, map_b64->buf[LJWS_JOSE], in lws_jws_sig_confirm()
622 map_b64->len[LJWS_JOSE]) || in lws_jws_sig_confirm()
758 lws_genhash_update(&hash_ctx, jws->map_b64.buf[LJWS_JOSE], in lws_jws_sign_from_b64()
759 jws->map_b64.len[LJWS_JOSE]) || in lws_jws_sign_from_b64()
905 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_flattened_json()
906 jws->map_b64.len[LJWS_JOSE], len - n); in lws_jws_write_flattened_json()
934 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_compact()
935 jws->map_b64.len[LJWS_JOSE], len - n); in lws_jws_write_compact()
986 if (lws_jws_parse_jose(&jose, jws.map.buf[LJWS_JOSE], in lws_jwt_signed_validate()
987 (int)jws.map.len[LJWS_JOSE], temp, &tl) < 0) { in lws_jwt_signed_validate()
1070 if (lws_jws_alloc_element(&jws.map, LJWS_JOSE, info->temp, &tlr, in lws_jwt_vsign_via_info()
1084 jws.map.len[LJWS_JOSE] = (uint32_t)lws_snprintf( in lws_jwt_vsign_via_info()
1085 (char *)jws.map.buf[LJWS_JOSE], (size_t)otl, in lws_jwt_vsign_via_info()
1099 memcpy((char *)jws.map.buf[LJWS_JOSE], info->jose_hdr, in lws_jwt_vsign_via_info()
1101 jws.map.len[LJWS_JOSE] = (uint32_t)actual_hdr_len; in lws_jwt_vsign_via_info()
1135 if (lws_jws_encode_b64_element(&jws.map_b64, LJWS_JOSE, p, &tlr, in lws_jwt_vsign_via_info()
1136 jws.map.buf[LJWS_JOSE], in lws_jwt_vsign_via_info()
1137 jws.map.len[LJWS_JOSE])) in lws_jwt_vsign_via_info()