mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 20:10:03 +02:00
include/libeosio/hash.hpp: remove nested struct from ripemd160_t and sha256_t and just use a array directly.
This commit is contained in:
parent
6026114869
commit
abecabba99
7 changed files with 89 additions and 127 deletions
|
|
@ -31,8 +31,8 @@ namespace libeosio {
|
|||
/**
|
||||
* Hashes
|
||||
*/
|
||||
typedef struct { unsigned char data[20]; } ripemd160_t;
|
||||
typedef struct { unsigned char data[32]; } sha256_t;
|
||||
typedef unsigned char ripemd160_t[20];
|
||||
typedef unsigned char sha256_t[32];
|
||||
|
||||
/**
|
||||
* sha256 hashing function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue