#include <tomcrypt_hash.h>
| unsigned long ltc_hash_descriptor::blocksize |
Input block size in octets
| int(* ltc_hash_descriptor::done)(hash_state *hash, unsigned char *out) |
Produce the digest and store it
- Parameters
-
| hash | The hash state |
| out | [out] The destination of the digest |
- Returns
- CRYPT_OK if successful
| unsigned long ltc_hash_descriptor::hashsize |
| int(* ltc_hash_descriptor::hmac_block)(const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) |
| unsigned char ltc_hash_descriptor::ID |
Init a hash state
- Parameters
-
| hash | The hash to initialize |
- Returns
- CRYPT_OK if successful
| char* ltc_hash_descriptor::name |
| unsigned long ltc_hash_descriptor::OID[16] |
| unsigned long ltc_hash_descriptor::OIDlen |
| int(* ltc_hash_descriptor::process)(hash_state *hash, const unsigned char *in, unsigned long inlen) |
Process a block of data
- Parameters
-
| hash | The hash state |
| in | The data to hash |
| inlen | The length of the data (octets) |
- Returns
- CRYPT_OK if successful
| int(* ltc_hash_descriptor::test)(void) |
Self-test
- Returns
- CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled
The documentation for this struct was generated from the following file: