1 #ifndef crypto_auth_hmacsha512256_H
2 #define crypto_auth_hmacsha512256_H
5 #include "crypto_auth_hmacsha512.h"
10 # pragma GCC diagnostic ignored "-Wlong-long"
15 typedef struct crypto_auth_hmacsha512_state crypto_auth_hmacsha512256_state;
17 #define crypto_auth_hmacsha512256_BYTES 32U
19 size_t crypto_auth_hmacsha512256_bytes(void);
21 #define crypto_auth_hmacsha512256_KEYBYTES 32U
23 size_t crypto_auth_hmacsha512256_keybytes(void);
26 int crypto_auth_hmacsha512256(unsigned char *out, const unsigned char *in,
27 unsigned long long inlen,const unsigned char *k);
30 int crypto_auth_hmacsha512256_verify(const unsigned char *h,
31 const unsigned char *in,
32 unsigned long long inlen,
33 const unsigned char *k);
36 int crypto_auth_hmacsha512256_init(crypto_auth_hmacsha512256_state *state,
37 const unsigned char *key,
41 int crypto_auth_hmacsha512256_update(crypto_auth_hmacsha512256_state *state,
42 const unsigned char *in,
43 unsigned long long inlen);
46 int crypto_auth_hmacsha512256_final(crypto_auth_hmacsha512256_state *state,