1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 20:45:17 -07:00

Use standard C99 types

This commit is contained in:
Frank Denis 2013-04-17 23:37:39 +02:00
parent a74cfe4112
commit b282b45dc7

View File

@ -4,13 +4,15 @@ D. J. Bernstein
Public domain. Public domain.
*/ */
#include <stdint.h>
#include "crypto_onetimeauth.h" #include "crypto_onetimeauth.h"
typedef unsigned char uchar; typedef uint8_t uchar;
typedef int int32; typedef int32_t int32;
typedef unsigned int uint32; typedef uint32_t uint32;
typedef long long int64; typedef int64_t int64;
typedef unsigned long long uint64; typedef uint64_t uint64;
static const double poly1305_53_constants[] = { static const double poly1305_53_constants[] = {
0.00000000558793544769287109375 /* alpham80 = 3 2^(-29) */ 0.00000000558793544769287109375 /* alpham80 = 3 2^(-29) */