File: siphash.h

package info (click to toggle)
siphashc 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 108 kB
  • sloc: ansic: 209; python: 91; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 453 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SIPHASH_H
#define SIPHASH_H

#if defined(_MSC_VER)
    #include <stdio.h>
    typedef unsigned __int64 uint64_t;
#else
    #include <stdint.h>
    #include <stdlib.h>
#endif

#ifdef __cplusplus /* If this is a C++ compiler, use C linkage */
extern "C" {
#endif
 
uint64_t siphash(const unsigned char key[16], const unsigned char *m, size_t len);
 
#ifdef __cplusplus /* If this is a C++ compiler, end C linkage */
}
#endif


#endif // SIPHASH_H