53 #elif (MP_WBITS == 32) int sha1Reset(sha1Param *sp)
This function resets the parameter block so that it's ready for a new hash.
Holds all the parameters necessary for the SHA-1 algorithm.
Definition: sha1.h:36
void sha1Process(sha1Param *sp)
This function performs the core of the SHA-1 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: sha1.h:62
int sha1Digest(sha1Param *sp, byte *digest)
This function finishes the current hash computation and copies the digest value into digest...
uint8_t byte
Definition: api.h:72
uint64_t mpw
Definition: api.h:87
const hashFunction sha1
Holds the full API description of the SHA-1 algorithm.
#define BEECRYPTAPI
Definition: api.h:52
Definition: beecrypt.h:301
int sha1Update(sha1Param *sp, const byte *data, size_t size)
This function should be used to pass successive blocks of data to be hashed.