ObjFW  Diff

Differences From Artifact [b4e6d30015]:

To Artifact [bfc8c7ca98]:


118
119
120
121
122
123
124
125
126
127
128
129






130
131
132


133
134

135
136
137
138
139
140
141
142
118
119
120
121
122
123
124





125
126
127
128
129
130
131


132
133
134

135

136
137
138
139
140
141
142







-
-
-
-
-
+
+
+
+
+
+

-
-
+
+

-
+
-







+ md5Hash
{
	return [[[OFMD5Hash alloc] init] autorelease];
}

- init
{
	if ((self = [super init])) {
		buf[0] = 0x67452301;
		buf[1] = 0xEFCDAB89;
		buf[2] = 0x98BADCFE;
		buf[3] = 0x10325476;
	self = [super init];

	buf[0] = 0x67452301;
	buf[1] = 0xEFCDAB89;
	buf[2] = 0x98BADCFE;
	buf[3] = 0x10325476;

		bits[0] = 0;
		bits[1] = 0;
	bits[0] = 0;
	bits[1] = 0;

		calculated = NO;
	calculated = NO;
	}

	return self;
}

- updateWithBuffer: (const char*)buffer
	    ofSize: (size_t)size
{
361
362
363
364
365
366
367
368
369
370
371
372
373
374








375
376
377
378
379
380
381
382
361
362
363
364
365
366
367







368
369
370
371
372
373
374
375

376
377
378
379
380
381
382







-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-







+ sha1Hash
{
	return [[[OFSHA1Hash alloc] init] autorelease];
}

- init
{
	if ((self = [super init])) {
		count = 0;
		state[0] = 0x67452301;
		state[1] = 0xEFCDAB89;
		state[2] = 0x98BADCFE;
		state[3] = 0x10325476;
		state[4] = 0xC3D2E1F0;
	self = [super init];

	count = 0;
	state[0] = 0x67452301;
	state[1] = 0xEFCDAB89;
	state[2] = 0x98BADCFE;
	state[3] = 0x10325476;
	state[4] = 0xC3D2E1F0;
	}

	return self;
}

- updateWithBuffer: (const char*)buf
	    ofSize: (size_t)size
{