#include <cstdint>
Go to the source code of this file.
◆ hash_state
◆ ulong32
◆ ulong64
◆ ulong8
◆ anonymous enum
Enumerator |
---|
CRYPT_OK | |
CRYPT_FAIL_TESTVECTOR | |
CRYPT_INVALID_ARG | |
CRYPT_HASH_OVERFLOW | |
Definition at line 25 of file SHA256.h.
◆ sha256_done()
◆ sha256_init()
Initialize the hash state
- Parameters
-
md | The hash state you wish to initialize |
- Returns
- CRYPT_OK if successful
Definition at line 163 of file SHA256.cpp.
◆ sha256_process()
Process a block of memory though the hash
- Parameters
-
md | The hash state |
in | The data to hash |
inlen | The length of the data (octets) |
- Returns
- CRYPT_OK if successful Process a block of memory though the hash
- Parameters
-
md | The hash state |
in | The data to hash |
inlen | The length of the data (octets) |
- Returns
- CRYPT_OK if successful
Definition at line 195 of file SHA256.cpp.