LIB: missed a support file

This commit is contained in:
Peter Ferrie 2021-06-30 11:33:18 -07:00
parent 9d0896a92f
commit a8f84a6e88

View File

@ -128,6 +128,7 @@ CS.START cld
.DA MD4Update .DA MD4Update
.DA MD4Finalize .DA MD4Finalize
.DA MD5 .DA MD5
.DA MD5Init
.DA MD5Update .DA MD5Update
.DA HMACMD5 .DA HMACMD5
*-------------------------------------- *--------------------------------------
@ -448,19 +449,19 @@ HMACMD5
>PULLW ZPHashPtr >PULLW ZPHashPtr
>PULLW ZPDataPtr >PULLW ZPDataPtr
>PULLW HMAC.DTemp >PULLW HMAC.DTemp
.1 jsr MD5Init .1 >LDYA ZPDataPtr
bcc .2
rts
.2 >LDYA ZPDataPtr
>SYSCALL2 strlen >SYSCALL2 strlen
>STYA ZPDataLen >STYA ZPDataLen
cpy #65 cpy #65
bcs .3 bcs .2
tay tay
beq .4 beq .4
.2 jsr MD5Init
bcc .3
rts
.3 >PUSHW ZPHashPtr .3 >PUSHW ZPHashPtr
jsr MD5Update.I jsr MD5Update.I
jsr MD5Finalize.I jsr MD5Finalize.I
@ -484,7 +485,7 @@ HMACMD5
stz HMACMD5.IPAD+64 stz HMACMD5.IPAD+64
stz HMACMD5.OPAD+64 stz HMACMD5.OPAD+64
jsr MD5Init.I jsr MD5Init
bcc .7 bcc .7
rts rts