This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This implementation of SHA-256 was adapted from Brad Conte's | |
crypto-algorithms GitHub repository. */ | |
#define SHA256_BLOCK_SIZE 32 | |
class CSHA256_CTX | |
{ | |
U8 data[64]; | |
U32 datalen; | |
U64 bitlen; |