Lines Matching refs:padc
118 uint8_t padc = 4, *bs = start; in lws_pad_set_length() local
123 if ((len + padc) & (uint32_t)(keys->padding_alignment - 1)) in lws_pad_set_length()
124 padc = (uint8_t)((uint8_t)padc + (uint8_t)(keys->padding_alignment - in lws_pad_set_length()
125 ((len + padc) & (uint32_t)(keys->padding_alignment - 1)))); in lws_pad_set_length()
127 bs[4] = padc; in lws_pad_set_length()
128 len += padc; in lws_pad_set_length()
131 while (padc--) in lws_pad_set_length()
134 lws_get_random(pss->vhd->context, *p, padc); in lws_pad_set_length()
135 (*p) += padc; in lws_pad_set_length()
148 int n, padc = 4, keylen; in offer() local
248 if (p - op < 13 + padc + 8) in offer()
283 if (((int)len + padc) & 7) in offer()
284 padc += 8 - (((int)len + padc) & 7); in offer()
286 op[4] = (uint8_t)padc; in offer()
287 len += (uint32_t)padc; in offer()
289 while (padc--) in offer()