Home
last modified time | relevance | path

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

/crypt/
A Dsha512-crypt.c323 buflen -= n; in __sha512_crypt_r()
327 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in __sha512_crypt_r()
329 if (buflen > 0) in __sha512_crypt_r()
332 --buflen; in __sha512_crypt_r()
335 __b64_from_24bit (&cp, &buflen, in __sha512_crypt_r()
337 __b64_from_24bit (&cp, &buflen, in __sha512_crypt_r()
339 __b64_from_24bit (&cp, &buflen, in __sha512_crypt_r()
380 if (buflen <= 0) in __sha512_crypt_r()
425 static int buflen; in __sha512_crypt() local
430 if (buflen < needed) in __sha512_crypt()
[all …]
A Dmd5-crypt.c84 char *buffer, int buflen);
255 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in __md5_crypt_r()
257 if (buflen > 0) in __md5_crypt_r()
260 --buflen; in __md5_crypt_r()
263 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
265 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
267 __b64_from_24bit (&cp, &buflen, in __md5_crypt_r()
275 if (buflen <= 0) in __md5_crypt_r()
313 static int buflen; in __md5_crypt() local
316 if (buflen < needed) in __md5_crypt()
[all …]
A Dsha256-crypt.c324 buflen -= n; in __sha256_crypt_r()
328 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in __sha256_crypt_r()
330 if (buflen > 0) in __sha256_crypt_r()
333 --buflen; in __sha256_crypt_r()
336 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
338 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
340 __b64_from_24bit (&cp, &buflen, in __sha256_crypt_r()
358 if (buflen <= 0) in __sha256_crypt_r()
403 static int buflen; in __sha256_crypt() local
408 if (buflen < needed) in __sha256_crypt()
[all …]
A Dsha256.c100 ctx->buflen = 0; in __sha256_init_ctx()
113 uint32_t bytes = ctx->buflen; in __sha256_finish_ctx()
147 if (ctx->buflen != 0) in __sha256_process_bytes()
149 size_t left_over = ctx->buflen; in __sha256_process_bytes()
153 ctx->buflen += add; in __sha256_process_bytes()
155 if (ctx->buflen > 64) in __sha256_process_bytes()
157 __sha256_process_block (ctx->buffer, ctx->buflen & ~63, ctx); in __sha256_process_bytes()
159 ctx->buflen &= 63; in __sha256_process_bytes()
162 ctx->buflen); in __sha256_process_bytes()
199 size_t left_over = ctx->buflen; in __sha256_process_bytes()
[all …]
A Dmd5.c78 ctx->buflen = 0; in md5_init_ctx()
106 md5_uint32 bytes = ctx->buflen; in md5_finish_ctx()
207 if (ctx->buflen != 0) in md5_process_bytes()
209 size_t left_over = ctx->buflen; in md5_process_bytes()
213 ctx->buflen += add; in md5_process_bytes()
215 if (ctx->buflen > 64) in md5_process_bytes()
217 __md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); in md5_process_bytes()
219 ctx->buflen &= 63; in md5_process_bytes()
222 ctx->buflen); in md5_process_bytes()
259 size_t left_over = ctx->buflen; in md5_process_bytes()
[all …]
A Dsha512.c121 ctx->buflen = 0; in __sha512_init_ctx()
134 uint64_t bytes = ctx->buflen; in __sha512_finish_ctx()
170 if (ctx->buflen != 0) in __sha512_process_bytes()
172 size_t left_over = ctx->buflen; in __sha512_process_bytes()
176 ctx->buflen += add; in __sha512_process_bytes()
178 if (ctx->buflen > 128) in __sha512_process_bytes()
180 __sha512_process_block (ctx->buffer, ctx->buflen & ~127, ctx); in __sha512_process_bytes()
182 ctx->buflen &= 127; in __sha512_process_bytes()
185 ctx->buflen); in __sha512_process_bytes()
223 size_t left_over = ctx->buflen; in __sha512_process_bytes()
[all …]
A Dcrypt-entry.c47 int buflen);
50 char *buffer, int buflen);
53 char *buffer, int buflen);
A Dsha256.h41 uint32_t buflen; member
A Dsha512.h45 uint64_t buflen; member
A Dcrypt-private.h72 extern void __b64_from_24bit (char **cp, int *buflen,
A Dmd5.h84 md5_uint32 buflen; member
A Dcrypt_util.c935 __b64_from_24bit (char **cp, int *buflen, in __b64_from_24bit() argument
940 while (n-- > 0 && (*buflen) > 0) in __b64_from_24bit()
943 --(*buflen); in __b64_from_24bit()

Completed in 24 milliseconds