Lines Matching refs:size

106 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size)  in MD4_Update()  argument
108 md4_update(ctx, size, data); in MD4_Update()
128 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument
130 (void)CC_MD4_Update(ctx, data, (CC_LONG)size); in MD4_Update()
164 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument
166 CryptHashData(ctx->hHash, (BYTE *)data, (unsigned int) size, 0); in MD4_Update()
188 unsigned long size; member
195 ctx->size = 0; in MD4_Init()
199 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument
202 ctx->data = Curl_memdup(data, size); in MD4_Update()
204 ctx->size = size; in MD4_Update()
212 mbedtls_md4(ctx->data, ctx->size, result); in MD4_Final()
214 (void) mbedtls_md4_ret(ctx->data, ctx->size, result); in MD4_Final()
218 ctx->size = 0; in MD4_Final()
274 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size);
323 const void *data, unsigned long size) in my_md4_body() argument
403 } while(size -= 64); in my_md4_body()
425 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument
431 ctx->lo = (saved_lo + size) & 0x1fffffff; in MD4_Update()
434 ctx->hi += (MD4_u32plus)size >> 29; in MD4_Update()
441 if(size < available) { in MD4_Update()
442 memcpy(&ctx->buffer[used], data, size); in MD4_Update()
448 size -= available; in MD4_Update()
452 if(size >= 64) { in MD4_Update()
453 data = my_md4_body(ctx, data, size & ~(unsigned long)0x3f); in MD4_Update()
454 size &= 0x3f; in MD4_Update()
457 memcpy(ctx->buffer, data, size); in MD4_Update()