Home
last modified time | relevance | path

Searched refs:scratch_len (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/cose/
Dcose_sign.c183 csc->info.lec->scratch[csc->info.lec->scratch_len++] = c; in lws_cose_sign_payload_chunk()
222 lec1.scratch_len); in lws_cose_sign_payload_chunk()
277 lec1.scratch_len); in lws_cose_sign_payload_chunk()
307 lec1.scratch_len)) in lws_cose_sign_payload_chunk()
318 lec1.scratch_len); in lws_cose_sign_payload_chunk()
340 lec1.scratch_len); in lws_cose_sign_payload_chunk()
Dcose_key.c1124 memcpy(&ctx->scratch[ctx->scratch_len], ke->buf, in lws_cose_key_export()
1126 ctx->scratch_len = (uint8_t)(ctx->scratch_len + (uint8_t)n); in lws_cose_key_export()
1175 if (ctx->buf == ctx->end || ctx->scratch_len) in lws_cose_key_export()
/third_party/libwebsockets/lib/misc/
Dlecp.c1168 ctx->scratch[ctx->scratch_len++] = (uint8_t)(opcode | in lws_lec_int()
1186 ctx->scratch[ctx->scratch_len++] = (uint8_t)(opcode | num); in lws_lec_int()
1206 ctx->scratch[ctx->scratch_len++] = (uint8_t)(opcode | hint); in lws_lec_int()
1209 ctx->scratch[ctx->scratch_len++] = (uint8_t)(num >> 56); in lws_lec_int()
1227 if (!ctx->scratch_len) in lws_lec_scratch()
1231 if (s > (size_t)ctx->scratch_len) in lws_lec_scratch()
1232 s = (size_t)ctx->scratch_len; in lws_lec_scratch()
1236 ctx->scratch_len = (uint8_t)(ctx->scratch_len - (uint8_t)s); in lws_lec_scratch()
1318 ctx->scratch_len = 0; in lws_lec_vsprintf()
1363 ctx->scratch[ctx->scratch_len++] = in lws_lec_vsprintf()
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-lecp.h346 uint8_t scratch_len; member