A2osX/.Docs/LIBCRYPT.md

53 lines
806 B
Markdown
Raw Normal View History

*** Auto generated by docgen.cmd ***
2018-06-18 08:44:02 +00:00
## MD5
Return MD5 Hash for input String
2018-06-18 08:44:02 +00:00
# C
`void md5 (const char* str, char* digest);`
2018-06-18 06:22:50 +00:00
2018-06-18 08:44:02 +00:00
# ASM
`>PUSHW digest`
2018-11-12 11:04:59 +00:00
`>PUSHW str`
2018-10-11 15:23:06 +00:00
## RETURN VALUE
2018-06-18 08:44:02 +00:00
CC
2018-06-18 08:44:02 +00:00
## MD5Init
Initialize a MD5 computation
2018-06-18 08:44:02 +00:00
# C
2018-11-12 11:04:59 +00:00
`hMD5 md5init ();`
2018-06-18 06:22:50 +00:00
2018-06-18 08:44:02 +00:00
# ASM
2018-11-12 11:04:59 +00:00
`>LIBCALL hLIBCRYPT,LIBCRYPT.MD5Init`
2018-10-11 15:23:06 +00:00
## RETURN VALUE
2018-06-18 08:44:02 +00:00
A = hMem To S.MD5
2018-06-18 08:44:02 +00:00
## MD5Update
Add Data to MD5 computation
2018-06-18 08:44:02 +00:00
# C
2018-11-12 11:04:59 +00:00
`void md5update (hMD5 md5, char* data, int len);`
2018-06-18 06:22:50 +00:00
2018-06-18 08:44:02 +00:00
# ASM
`>PUSHW len`
`>PUSHW data`
`>LDA.G md5`
2018-11-12 11:04:59 +00:00
`>hLIBCRYPT,LIBCRYPT.MD5Update`
2018-10-11 15:23:06 +00:00
## RETURN VALUE
2018-06-18 08:44:02 +00:00
## MD5Finalize
2018-06-18 08:44:02 +00:00
# C
2018-11-12 11:04:59 +00:00
`void md5finalize (hMD5 md5, char* digest);`
2018-06-18 06:22:50 +00:00
2018-06-18 08:44:02 +00:00
# ASM
`>PUSHW digest`
`>LDA.G md5`
2018-11-12 11:04:59 +00:00
`>LIBCALL hLIBCRYPT,LIBCRYPT.MD5Finalize`
2018-10-11 15:23:06 +00:00
## RETURN VALUE