Go to the source code of this file.
Functions | |
fips_md_init (WHIRLPOOL) | |
int | WHIRLPOOL_Update (WHIRLPOOL_CTX *c, const void *_inp, size_t bytes) |
void | WHIRLPOOL_BitUpdate (WHIRLPOOL_CTX *c, const void *_inp, size_t bits) |
int | WHIRLPOOL_Final (unsigned char *md, WHIRLPOOL_CTX *c) |
unsigned char * | WHIRLPOOL (const void *inp, size_t bytes, unsigned char *md) |
fips_md_init | ( | WHIRLPOOL | ) |
The Whirlpool hashing function.
References
The Whirlpool algorithm was developed by Paulo S. L. M. Barreto and Vincent Rijmen.
See P.S.L.M. Barreto, V. Rijmen, ``The Whirlpool hashing function,'' NESSIE submission, 2000 (tweaked version, 2001), https://www.cosic.esat.kuleuven.ac.be/nessie/workshop/submissions/whirlpool.zip
Based on "@version 3.0 (2003.03.12)" by Paulo S.L.M. Barreto and Vincent Rijmen. Lookup "reference implementations" on http://planeta.terra.com.br/informatica/paulobarreto/
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
unsigned char* WHIRLPOOL | ( | const void * | inp, |
size_t | bytes, | ||
unsigned char * | md | ||
) |
void WHIRLPOOL_BitUpdate | ( | WHIRLPOOL_CTX * | c, |
const void * | _inp, | ||
size_t | bits | ||
) |
int WHIRLPOOL_Final | ( | unsigned char * | md, |
WHIRLPOOL_CTX * | c | ||
) |
int WHIRLPOOL_Update | ( | WHIRLPOOL_CTX * | c, |
const void * | _inp, | ||
size_t | bytes | ||
) |