A2osX/.Docs/LIBCRYPT.md

73 lines
1.5 KiB
Markdown
Raw Normal View History

*** Auto generated by docgen.cmd ***
## Copyright
Copyright 2015 - 2019, Remy Gibert and the A2osX contributors.
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
## License
A2osX is licensed under the GNU General Pulic License.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
The full A2osX license can be found **[Here](../LICENSE)**.
*** End of Auto generated file ***