OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
wp_dgst.c File Reference
#include "wp_locl.h"
#include <openssl/crypto.h>
#include <string.h>

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)
 

Function Documentation

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.

Definition at line 58 of file wp_dgst.c.

unsigned char* WHIRLPOOL ( const void inp,
size_t  bytes,
unsigned char *  md 
)

Definition at line 255 of file wp_dgst.c.

void WHIRLPOOL_BitUpdate ( WHIRLPOOL_CTX c,
const void _inp,
size_t  bits 
)

Definition at line 85 of file wp_dgst.c.

int WHIRLPOOL_Final ( unsigned char *  md,
WHIRLPOOL_CTX c 
)

Definition at line 216 of file wp_dgst.c.

int WHIRLPOOL_Update ( WHIRLPOOL_CTX c,
const void _inp,
size_t  bytes 
)

Definition at line 64 of file wp_dgst.c.