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