Lines Matching defs:buf
174 memcpy(args->jwk_jctx.buf, ctx->buf, ctx->npos);
211 lws_gencrypto_jws_alg_to_definition(ctx->buf,
214 ctx->buf);
220 lws_gencrypto_jwe_alg_to_definition(ctx->buf,
223 ctx->buf);
231 lws_strnncpy(args->jose->typ, ctx->buf, ctx->npos,
287 if (lws_gencrypto_jwe_enc_to_definition(ctx->buf,
290 ctx->buf);
354 if (!args->jose->e[ctx->path_match - 1].buf) {
355 args->jose->e[ctx->path_match - 1].buf = (uint8_t *)args->temp;
359 memcpy(args->temp, ctx->buf, ctx->npos);
366 (const char *)args->jose->e[ctx->path_match - 1].buf,
368 (char *)args->jose->e[ctx->path_match - 1].buf,
408 lws_jose_parse(struct lws_jose *jose, const uint8_t *buf, int n,
435 m = lejp_parse(&jctx, (uint8_t *)buf, n);
442 if (!args.recipients_array && jose->recipient[0].unprot[LJJHI_ALG].buf)
451 const char *buf, int len, char *temp, int *temp_len)
453 return lws_jose_parse(jose, (const uint8_t *)buf, len,
459 const char *buf, int len, char *temp, int *temp_len)
462 (const uint8_t *)buf, len, temp, temp_len, 1);
492 if (jose->e[n].buf) {
495 jws_jose[n], jose->e[n].buf);
507 if (jose->e[n].buf) {
513 jose->e[n].buf, (int)jose->e[n].len,
526 if (jose->e[n].buf) {
532 jose->e[n].buf, (int)jose->e[n].len,
564 if (!jose->e[n].buf)
574 if (jose->e[n].buf[m] == ' ') {
590 *out++ = (char)jose->e[n].buf[m];