53 #elif (MP_WBITS == 32)
#define BEECRYPTAPI
Definition api.h:52
uint64_t mpw
Definition api.h:87
int sha1Digest(sha1Param *sp, byte *digest)
This function finishes the current hash computation and copies the digest value into digest.
int sha1Reset(sha1Param *sp)
This function resets the parameter block so that it's ready for a new hash.
const hashFunction sha1
Holds the full API description of the SHA-1 algorithm.
int sha1Update(sha1Param *sp, const byte *data, size_t size)
This function should be used to pass successive blocks of data to be hashed.
void sha1Process(sha1Param *sp)
This function performs the core of the SHA-1 hash algorithm; it processes a block of 64 bytes.
Definition beecrypt.h:305
Holds all the parameters necessary for the SHA-1 algorithm.
Definition sha1.h:40
uint32_t offset
Offset into data; points to the place where new data will be copied before it is processed.
Definition sha1.h:62