ObjFW  Diff

Differences From Artifact [76bf5a4c3b]:

To Artifact [e9824a1431]:


15
16
17
18
19
20
21
22



23
24
25
26
27
28
29
15
16
17
18
19
20
21

22
23
24
25
26
27
28
29
30
31







-
+
+
+







 */

#include "config.h"

#include <string.h>

#import "OFSHA1Hash.h"
#import "OFExceptions.h"

#import "OFHashAlreadyCalculatedException.h"

#import "macros.h"

/* blk0() and blk() perform the initial expand. */
#ifndef OF_BIG_ENDIAN
#define blk0(i)							\
	(block.l[i] = (OF_ROL(block.l[i], 24) & 0xFF00FF00) |	\
	    (OF_ROL(block.l[i], 8) & 0x00FF00FF))