|
wpa_supplicant / hostapd
2.5
|
SHA-256 internal definitions. More...
Go to the source code of this file.
Data Structures | |
| struct | sha256_state |
Macros | |
| #define | SHA256_BLOCK_SIZE 64 |
Functions | |
| void | sha256_init (struct sha256_state *md) |
| int | sha256_process (struct sha256_state *md, const unsigned char *in, unsigned long inlen) |
| int | sha256_done (struct sha256_state *md, unsigned char *out) |
SHA-256 internal definitions.
| int sha256_done | ( | struct sha256_state * | md, |
| unsigned char * | out | ||
| ) |
Terminate the hash to get the digest
| md | The hash state |
| out | [out] The destination of the hash (32 bytes) |
| int sha256_process | ( | struct sha256_state * | md, |
| const unsigned char * | in, | ||
| unsigned long | inlen | ||
| ) |
Process a block of memory though the hash
| md | The hash state |
| in | The data to hash |
| inlen | The length of the data (octets) |
1.8.6