mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-31 22:42:57 -07:00
Add macros for crypto_hash block size
This commit is contained in:
parent
7c67c81444
commit
fa7ed1faad
@ -4,6 +4,7 @@
|
||||
#include "crypto_hash_sha512.h"
|
||||
|
||||
#define crypto_hash_BYTES crypto_hash_sha512_BYTES
|
||||
#define crypto_hash_BLOCKBYTES crypto_hash_sha512_BLOCKBYTES
|
||||
#define crypto_hash_PRIMITIVE "sha512"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define crypto_hash_sha256_H
|
||||
|
||||
#define crypto_hash_sha256_BYTES 32
|
||||
#define crypto_hash_sha256_BLOCKBYTES 64
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define crypto_hash_sha512_H
|
||||
|
||||
#define crypto_hash_sha512_BYTES 64
|
||||
#define crypto_hash_sha512_BLOCKBYTES 128
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user