1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-09-19 09:01:34 +02:00
BLAKE2/bench/md5.c
2013-02-01 16:44:36 +01:00

22 lines
709 B
C

/*
BLAKE2 reference source code package - benchmark tool
Written in 2012 by Samuel Neves <sneves@dei.uc.pt>
To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with
this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#include <stddef.h>
#include <openssl/md5.h>
//#include "crypto_hash.h"
int crypto_hash( unsigned char *out, const unsigned char *in, unsigned long long inlen )
{
MD5( in, inlen, out );
return 0;
}