#include "beecrypt/beecrypt.h"


Go to the source code of this file.
Data Structures | |
| struct | sha384Param |
| Holds all the parameters necessary for the SHA-384 algorithm. More... | |
Functions | |
| BEECRYPTAPI void | sha384Process (sha384Param *sp) |
| This function performs the core of the SHA-384 hash algorithm; it processes a block of 128 bytes. | |
| BEECRYPTAPI int | sha384Reset (sha384Param *sp) |
| This function resets the parameter block so that it's ready for a new hash. | |
| BEECRYPTAPI int | sha384Update (sha384Param *sp, const byte *data, size_t size) |
| This function should be used to pass successive blocks of data to be hashed. | |
| BEECRYPTAPI int | sha384Digest (sha384Param *sp, byte *digest) |
| This function finishes the current hash computation and copies the digest value into digest. | |
Variables | |
| BEECRYPTAPI const hashFunction | sha384 |
| Holds the full API description of the SHA-384 algorithm. | |
| int sha384Digest | ( | sha384Param * | sp, | |
| byte * | digest | |||
| ) |
This function finishes the current hash computation and copies the digest value into digest.
| sp | The hash function's parameter block. | |
| digest | The place to store the 64-byte digest. |
| 0 | on success. |
| void sha384Process | ( | sha384Param * | sp | ) |
This function performs the core of the SHA-384 hash algorithm; it processes a block of 128 bytes.
| sp | The hash function's parameter block. |
| int sha384Reset | ( | sha384Param * | sp | ) |
This function resets the parameter block so that it's ready for a new hash.
| sp | The hash function's parameter block. |
| 0 | on success. |
| int sha384Update | ( | sha384Param * | sp, | |
| const byte * | data, | |||
| size_t | size | |||
| ) |
This function should be used to pass successive blocks of data to be hashed.
| sp | The hash function's parameter block. | |
| data | ||
| size |
| 0 | on success. |
Holds the full API description of the SHA-384 algorithm.
1.5.8