19,11 → 19,11 |
|
public @EXPORT as 'EXPORTS' |
|
include '../../../../struct.inc' |
include '../../../../proc32.inc' |
include '../../../../macros.inc' |
include '../../../../config.inc' |
;include '../../../../debug.inc' |
include 'struct.inc' |
include 'proc32.inc' |
include 'macros.inc' |
include 'config.inc' |
include 'kglobals.inc' |
|
purge section,mov,add,sub |
section '.flat' code readable align 16 |
106,19 → 106,21 |
crash._.bin2hex_table db '0123456789abcdef' |
|
crash._.table dd \ |
crc32.init, crc32.update, crc32.final, CRC32_HASH_SIZE, \ |
md4.init, md4.update, md4.final, MD4_HASH_SIZE, \ |
md5.init, md5.update, md5.final, MD5_HASH_SIZE, \ |
sha1.init, sha1.update, sha1.final, SHA1_HASH_SIZE, \ |
sha224.init, sha224.update, sha224.final, SHA224_HASH_SIZE, \ |
sha256.init, sha256.update, sha256.final, SHA256_HASH_SIZE, \ |
sha384.init, sha384.update, sha384.final, SHA384_HASH_SIZE, \ |
sha512.init, sha512.update, sha512.final, SHA512_HASH_SIZE, \ |
sha3224.init, sha3224.update, sha3224.final, SHA3224_HASH_SIZE,\ |
sha3256.init, sha3256.update, sha3256.final, SHA3256_HASH_SIZE,\ |
sha3384.init, sha3384.update, sha3384.final, SHA3384_HASH_SIZE,\ |
sha3512.init, sha3512.update, sha3512.final, SHA3512_HASH_SIZE |
crc32.init, crc32.update, crc32.final, crc32.oneshot, CRC32_HASH_SIZE, \ |
md4.init, md4.update, md4.final, md4.oneshot, MD4_HASH_SIZE, \ |
md5.init, md5.update, md5.final, md5.oneshot, MD5_HASH_SIZE, \ |
sha1.init, sha1.update, sha1.final, sha1.oneshot, SHA1_HASH_SIZE, \ |
sha224.init, sha224.update, sha224.final, sha224.oneshot, SHA224_HASH_SIZE, \ |
sha256.init, sha256.update, sha256.final, sha256.oneshot, SHA256_HASH_SIZE, \ |
sha384.init, sha384.update, sha384.final, sha384.oneshot, SHA384_HASH_SIZE, \ |
sha512.init, sha512.update, sha512.final, sha512.oneshot, SHA512_HASH_SIZE, \ |
sha3_224.init, sha3_224.update, sha3_224.final, sha3_224.oneshot, SHA3_224_HASH_SIZE,\ |
sha3_256.init, sha3_256.update, sha3_256.final, sha3_256.oneshot, SHA3_256_HASH_SIZE,\ |
sha3_384.init, sha3_384.update, sha3_384.final, sha3_384.oneshot, SHA3_384_HASH_SIZE,\ |
sha3_512.init, sha3_512.update, sha3_512.final, sha3_512.oneshot, SHA3_512_HASH_SIZE |
|
IncludeIGlobals |
|
align 4 |
@EXPORT: |
|
129,36 → 131,48 |
crc32.init, 'crc32_init' , \ |
crc32.update, 'crc32_update' , \ |
crc32.final, 'crc32_final' , \ |
crc32.oneshot, 'crc32_oneshot' , \ |
md4.init, 'md4_init' , \ |
md4.update, 'md4_update' , \ |
md4.final, 'md4_final' , \ |
md4.oneshot, 'md4_oneshot' , \ |
md5.init, 'md5_init' , \ |
md5.update, 'md5_update' , \ |
md5.final, 'md5_final' , \ |
md5.oneshot, 'md5_oneshot' , \ |
sha1.init, 'sha1_init' , \ |
sha1.update, 'sha1_update' , \ |
sha1.final, 'sha1_final' , \ |
sha1.oneshot, 'sha1_oneshot' , \ |
sha224.init, 'sha224_init' , \ |
sha224.update, 'sha224_update' , \ |
sha224.final, 'sha224_final' , \ |
sha224.oneshot, 'sha224_oneshot' , \ |
sha256.init, 'sha256_init' , \ |
sha256.update, 'sha256_update' , \ |
sha256.final, 'sha256_final' , \ |
sha256.oneshot, 'sha256_oneshot' , \ |
sha384.init, 'sha384_init' , \ |
sha384.update, 'sha384_update' , \ |
sha384.final, 'sha384_final' , \ |
sha384.oneshot, 'sha384_oneshot' , \ |
sha512.init, 'sha512_init' , \ |
sha512.update, 'sha512_update' , \ |
sha512.final, 'sha512_final' , \ |
sha3224.init, 'sha3_224_init' , \ |
sha3224.update, 'sha3_224_update' , \ |
sha3224.final, 'sha3_224_final' , \ |
sha3256.init, 'sha3_256_init' , \ |
sha3256.update, 'sha3_256_update' , \ |
sha3256.final, 'sha3_256_final' , \ |
sha3384.init, 'sha3_384_init' , \ |
sha3384.update, 'sha3_384_update' , \ |
sha3384.final, 'sha3_384_final' , \ |
sha3512.init, 'sha3_512_init' , \ |
sha3512.update, 'sha3_512_update' , \ |
sha3512.final, 'sha3_512_final' |
sha512.oneshot, 'sha512_oneshot' , \ |
sha3_224.init, 'sha3_224_init' , \ |
sha3_224.update, 'sha3_224_update' , \ |
sha3_224.final, 'sha3_224_final' , \ |
sha3_224.oneshot, 'sha3_224_oneshot' , \ |
sha3_256.init, 'sha3_256_init' , \ |
sha3_256.update, 'sha3_256_update' , \ |
sha3_256.final, 'sha3_256_final' , \ |
sha3_256.oneshot, 'sha3_256_oneshot' , \ |
sha3_384.init, 'sha3_384_init' , \ |
sha3_384.update, 'sha3_384_update' , \ |
sha3_384.final, 'sha3_384_final' , \ |
sha3_384.oneshot, 'sha3_384_oneshot' , \ |
sha3_512.init, 'sha3_512_init' , \ |
sha3_512.update, 'sha3_512_update' , \ |
sha3_512.final, 'sha3_512_final' , \ |
sha3_512.oneshot, 'sha3_512_oneshot' |