52 #elif (MP_WBITS == 32)
int sha256Reset(sha256Param *sp)
This function resets the parameter block so that it's ready for a new hash.
int sha256Digest(sha256Param *sp, byte *digest)
This function finishes the current hash computation and copies the digest value into digest...
int sha256Update(sha256Param *sp, const byte *data, size_t size)
This function should be used to pass successive blocks of data to be hashed.
uint8_t byte
Definition: api.h:72
#define BEECRYPTAPI
Definition: api.h:52
Holds all the parameters necessary for the SHA-256 algorithm.
Definition: sha256.h:35
void sha256Process(sha256Param *sp)
This function performs the core of the SHA-256 hash algorithm; it processes a block of 64 bytes...
uint32_t offset
Offset into data; points to the place where new data will be copied before it is processed.
Definition: sha256.h:61
Definition: beecrypt.h:301
const hashFunction sha256
Holds the full API description of the SHA-256 algorithm.
uint32_t mpw
Definition: api.h:94