Validus 1.0.5
192-bit OWHF
Loading...
Searching...
No Matches
validus.c File Reference

Implementation of the Validus hash function. More...

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.

Detailed Description

Implementation of the Validus hash function.

Implements the functions that comprise the core of Validus.

Author
Ryan M. Lederman <leder.nosp@m.man@.nosp@m.gmail.nosp@m..com>
Date
2004-2025
Version
1.0.5

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.