Updates for 386 OS X, add native OS X graphics from Paul Lalonde
This commit is contained in:
@@ -20,10 +20,8 @@ $(LIB): $(OFILES)
|
||||
$(AS) -o $*.$O $*.s
|
||||
|
||||
md5block.s: md5block.spp
|
||||
cpp md5block.spp >md5block.s
|
||||
gcc -E md5block.spp >md5block.s
|
||||
|
||||
sha1block.s: sha1block.spp
|
||||
cpp sha1block.spp >sha1block.s
|
||||
|
||||
|
||||
gcc -E sha1block.spp >sha1block.s
|
||||
|
||||
|
@@ -43,7 +43,7 @@
|
||||
#define S43 15
|
||||
#define S44 21
|
||||
|
||||
#define PAYME(x) $ ## x
|
||||
#define PAYME(x) $##x
|
||||
|
||||
/*
|
||||
* SI is data
|
||||
@@ -116,9 +116,13 @@
|
||||
.text
|
||||
|
||||
.p2align 2,0x90
|
||||
#ifdef __Darwin__
|
||||
.globl __md5block
|
||||
__md5block:
|
||||
#else
|
||||
.globl _md5block
|
||||
.type _md5block, @function
|
||||
_md5block:
|
||||
#endif
|
||||
|
||||
/* Prelude */
|
||||
pushl %ebp
|
||||
|
@@ -1,9 +1,13 @@
|
||||
.text
|
||||
|
||||
.p2align 2,0x90
|
||||
#ifdef __Darwin__
|
||||
.globl __sha1block
|
||||
__sha1block:
|
||||
#else
|
||||
.globl _sha1block
|
||||
.type _sha1block, @function
|
||||
_sha1block:
|
||||
#endif
|
||||
|
||||
/* x = (wp[off-f] ^ wp[off-8] ^ wp[off-14] ^ wp[off-16]) <<< 1;
|
||||
* wp[off] = x;
|
||||
|
Reference in New Issue
Block a user