Data Structures | |
| struct | validus_state |
| Represents the state of an individual Validus hash operation. More... | |
Typedefs | |
| typedef uint8_t | validus_octet |
| Validus byte (8-bit). | |
| typedef uint32_t | validus_word |
| Validus word (32-bit). | |
Functions | |
| void | validus_init (validus_state *state) |
| Initializes a validus_state object. | |
| void | validus_append (validus_state *state, const void *data, size_t len) |
| Processes a block of data, accumulating the results in the validus_state object. | |
| void | validus_finalize (validus_state *state) |
| Finalizes a Validus hashing operation. | |
| bool | validus_compare (const validus_state *one, const validus_state *two) |
| Compares two validus_state objects for equality. | |
| void | _validus_process (validus_state *state, const validus_word *blk32) |
| Processes a 192-bit block of data, accumulating the results in the validus_state object. | |
| void validus_init | ( | validus_state * | state | ) |
Initializes a validus_state object.
Fills the state structure with initial values and prepares it for use with validus_append, and validus_finalize.
| state | Pointer to the validus_state object to initialize. |
| void validus_append | ( | validus_state * | state, |
| const void * | data, | ||
| size_t | len ) |
Processes a block of data, accumulating the results in the validus_state object.
| state | Pointer to the validus_state object in use for this series of data. |
| data | Pointer to a new block of data to process. |
| len | Length of data in octets. |
| void validus_finalize | ( | validus_state * | state | ) |
Finalizes a Validus hashing operation.
| state | Pointer to the validus_state object to finalize. |
| bool validus_compare | ( | const validus_state * | one, |
| const validus_state * | two ) |
Compares two validus_state objects for equality.
| one | Pointer to a validus_state to compare for equality. |
| two | Pointer to a validus_state to compare for equality. |
| void _validus_process | ( | validus_state * | state, |
| const validus_word * | blk32 ) |
Processes a 192-bit block of data, accumulating the results in the validus_state object.
| state | Pointer to the validus_state object in use for this series of data. |
| blk32 | Pointer to the block of data to be processed. |