A message digest algorithm.
More...
#include <crypto.h>
A message digest algorithm.
Definition at line 17 of file crypto.h.
◆ name
const char* digest_algorithm::name |
◆ ctxsize
size_t digest_algorithm::ctxsize |
Context size.
Definition at line 21 of file crypto.h.
◆ blocksize
size_t digest_algorithm::blocksize |
Block size.
Definition at line 23 of file crypto.h.
◆ digestsize
size_t digest_algorithm::digestsize |
Digest size.
Definition at line 25 of file crypto.h.
◆ init
void( * digest_algorithm::init) (void *ctx) |
Initialise digest.
- Parameters
-
Definition at line 30 of file crypto.h.
◆ update
Update digest with new data.
- Parameters
-
ctx | Context |
src | Data to digest |
len | Length of data |
len | is not necessarily a multiple of blocksize . |
Definition at line 39 of file crypto.h.
◆ final
void( * digest_algorithm::final) (void *ctx, void *out) |
Finalise digest.
- Parameters
-
ctx | Context |
out | Buffer for digest output |
Definition at line 45 of file crypto.h.
The documentation for this struct was generated from the following file: