Get rid of siphash.h as we don't use it

This commit is contained in:
Přemysl Eric Janouch 2015-07-14 23:40:14 +02:00
parent 246bd92648
commit fcc3f9e19c
2 changed files with 1 additions and 13 deletions

View File

@ -7,8 +7,6 @@
// You should have received a copy of the CC0 Public Domain Dedication along // 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/>. // with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
#include "siphash.h"
inline static uint64_t inline static uint64_t
u8to64_le (const unsigned char *p) u8to64_le (const unsigned char *p)
{ {
@ -23,7 +21,7 @@ u8to64_le (const unsigned char *p)
(uint64_t) p[7] << 56 ; (uint64_t) p[7] << 56 ;
} }
uint64_t static uint64_t
siphash (const unsigned char key[16], const unsigned char *m, size_t len) siphash (const unsigned char key[16], const unsigned char *m, size_t len)
{ {
uint64_t v0, v1, v2, v3; uint64_t v0, v1, v2, v3;

View File

@ -1,10 +0,0 @@
#ifndef SIPHASH_H
#define SIPHASH_H
#include <stdint.h>
#include <stdlib.h>
uint64_t siphash (const unsigned char key[16],
const unsigned char *m, size_t len);
#endif // SIPHASH_H