Lines Matching refs:temp

59 	char *temp;
103 * We keep both b64u and decoded in temp mapped using map / map_b64,
109 args->jws->map_b64.buf[m] = args->temp;
113 memcpy(args->temp, ctx->buf, ctx->npos);
114 args->temp += ctx->npos;
119 args->jws->map.buf[m] = args->temp;
124 (char *)args->temp, *args->temp_len);
130 args->temp += n;
140 char *temp, int *temp_len)
147 args.temp = temp;
192 lws_jws_dup_element(struct lws_jws_map *map, int idx, char *temp, int *temp_len,
201 memcpy(temp, in, in_len);
204 map->buf[idx] = temp;
213 char *temp, int *temp_len, const void *in,
221 n = lws_jws_base64_enc(in, in_len, temp, (size_t)*temp_len);
226 map->buf[idx] = temp;
235 int idx, char *temp, int *temp_len, size_t random_len,
245 map->buf[idx] = temp;
247 if (lws_get_random(context, temp, random_len) != random_len) {
258 lws_jws_alloc_element(struct lws_jws_map *map, int idx, char *temp,
268 map->buf[idx] = temp;
449 char temp[256];
450 int n, h_len, b = 3, temp_len = sizeof(temp);
465 temp, &temp_len) < 0 || !jose.alg) {
667 /* it's already a b64 map, we will make a temp plain version */
673 char *temp, int *temp_len)
678 n = lws_jws_compact_decode_map(map_b64, &map, temp, temp_len);
686 * it's already a compact / concatenated b64 string, we will make a temp
694 char *temp, int *temp_len)
702 n = lws_jws_compact_decode(in, (int)len, map, &map_b64, temp, temp_len);
709 /* it's already plain, we will make a temp b64 version */
713 struct lws_context *context, char *temp,
718 if (lws_jws_compact_encode(&map_b64, map, temp, temp_len) < 0)
728 char *temp, int *temp_len)
731 (int)len, temp, temp_len)) {
956 char *temp, int tl, char *out, size_t *out_len)
973 temp, &tl);
979 temp += otl - tl;
987 (int)jws.map.len[LJWS_JOSE], temp, &tl) < 0) {
1057 p = info->temp;
1070 if (lws_jws_alloc_element(&jws.map, LJWS_JOSE, info->temp, &tlr,
1072 lwsl_err("%s: temp space too small\n", __func__);
1094 (int)actual_hdr_len, info->temp, &tlr)) {
1198 const char *alg, char *out, size_t *out_len, char *temp,
1206 .temp = temp,