Lines Matching refs:data
101 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size)
103 md4_update(ctx, size, data);
123 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size)
125 (void)CC_MD4_Update(ctx, data, (CC_LONG)size);
159 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size)
161 CryptHashData(ctx->hHash, (BYTE *)data, (unsigned int) size, 0);
182 void *data;
189 ctx->data = NULL;
194 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size)
196 if(!ctx->data) {
197 ctx->data = Curl_memdup(data, size);
198 if(ctx->data)
205 if(ctx->data) {
207 mbedtls_md4(ctx->data, ctx->size, result);
209 (void) mbedtls_md4_ret(ctx->data, ctx->size, result);
212 Curl_safefree(ctx->data);
245 * no exactly 32-bit integer data type is required (any 32-bit or wider
246 * unsigned integer data type will do), there's no compile-time endianness
257 /* Any 32-bit or wider unsigned integer data type will do */
269 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size);
314 * This processes one or more 64-byte data blocks, but does NOT update
317 static const void *body(MD4_CTX *ctx, const void *data, unsigned long size)
322 ptr = (const unsigned char *)data;
419 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size)
436 memcpy(&ctx->buffer[used], data, size);
440 memcpy(&ctx->buffer[used], data, available);
441 data = (const unsigned char *)data + available;
447 data = body(ctx, data, size & ~(unsigned long)0x3f);
451 memcpy(ctx->buffer, data, size);