1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-19 04:50:03 +02:00

Adding/Updating comments in public header files.

This commit is contained in:
Henrik Hautakoski 2020-05-19 14:55:57 +02:00
parent 45ae0b5791
commit b619ab78d4
5 changed files with 71 additions and 9 deletions

View file

@ -29,11 +29,25 @@
namespace libeosio {
/**
* sha256 hashing function.
* Hashes the content in `data` up to `len` bytes. result is stored in `out`.
* Returns the sampe pointer as `out`.
*/
sha256_t* sha256(const unsigned char *data, std::size_t len, sha256_t* out);
// sha256 double.
/**
* sha256 double hashing function.
* Hashes the content in `data` up to `len` bytes. result is stored in `out`.
* Returns the sampe pointer as `out`.
*/
sha256_t* sha256d(const unsigned char *data, std::size_t len, sha256_t* out);
/**
* RipeMD160 hashing function.
* Hashes the content in `data` up to `len` bytes. result is stored in `out`.
* Returns the sampe pointer as `out`.
*/
ripemd160_t* ripemd160(const unsigned char *data, std::size_t len, ripemd160_t* out);
} // namespace libeosio