Home
last modified time | relevance | path

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

/third_party/libwebsockets/plugins/ssh-base/
Dsshd.c118 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
[all …]