mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 19:27:12 +09:00
25 lines
490 B
C
25 lines
490 B
C
#ifndef _crypto_hashblocks_sha512_H
|
|
#define _crypto_hashblocks_sha512_H
|
|
|
|
#include <stddef.h>
|
|
#include "export.h"
|
|
|
|
#define crypto_hashblocks_sha512_STATEBYTES 64U
|
|
#define crypto_hashblocks_sha512_BLOCKBYTES 128U
|
|
|
|
#ifdef __cplusplus
|
|
# if __GNUC__
|
|
# pragma GCC diagnostic ignored "-Wlong-long"
|
|
# endif
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* This function is only used internally */
|
|
int crypto_hashblocks_sha512(unsigned char *,const unsigned char *,unsigned long long);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|