Lines Matching refs:ilen
226 unsigned int ilen) in sha1_update() argument
231 if (ilen <= 0) in sha1_update()
237 ctx->total[0] += ilen; in sha1_update()
240 if (ctx->total[0] < (unsigned long) ilen) in sha1_update()
243 if (left && ilen >= fill) { in sha1_update()
247 ilen -= fill; in sha1_update()
251 while (ilen >= 64) { in sha1_update()
254 ilen -= 64; in sha1_update()
257 if (ilen > 0) { in sha1_update()
258 memcpy ((void *) (ctx->buffer + left), (void *) input, ilen); in sha1_update()
301 void sha1_csum(const unsigned char *input, unsigned int ilen, in sha1_csum() argument
307 sha1_update (&ctx, input, ilen); in sha1_csum()
315 void sha1_csum_wd(const unsigned char *input, unsigned int ilen, in sha1_csum_wd() argument
328 end = input + ilen; in sha1_csum_wd()
338 sha1_update (&ctx, input, ilen); in sha1_csum_wd()
348 const unsigned char *input, unsigned int ilen, in sha1_hmac() argument
370 sha1_update (&ctx, input, ilen); in sha1_hmac()