mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Avoid duplicate crypto_hash.h
This commit is contained in:
@@ -24,9 +24,9 @@ libsodium_la_SOURCES = \
|
||||
crypto_hashblocks/sha256/ref/crypto_hashblocks.h \
|
||||
crypto_hashblocks/sha512/ref/blocks_sha512.c \
|
||||
crypto_hashblocks/sha512/ref/crypto_hashblocks.h \
|
||||
crypto_hash/sha256/ref/crypto_hash.h \
|
||||
crypto_hash/sha256/ref/api.h \
|
||||
crypto_hash/sha256/ref/hash_sha256.c \
|
||||
crypto_hash/sha512/ref/crypto_hash.h \
|
||||
crypto_hash/sha512/ref/api.h \
|
||||
crypto_hash/sha512/ref/hash_sha512.c \
|
||||
crypto_shorthash/siphash24/ref/crypto_shorthash.h \
|
||||
crypto_shorthash/siphash24/ref/shorthash_siphash24.c \
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#ifndef crypto_hash_H
|
||||
#define crypto_hash_H
|
||||
|
||||
#include "crypto_hash_sha256.h"
|
||||
|
||||
#define crypto_hash crypto_hash_sha256
|
||||
#define crypto_hash_BYTES crypto_hash_sha256_BYTES
|
||||
#define crypto_hash_PRIMITIVE "sha256"
|
||||
#define crypto_hash_IMPLEMENTATION crypto_hash_sha256_IMPLEMENTATION
|
||||
#define crypto_hash_VERSION crypto_hash_sha256_VERSION
|
||||
|
||||
#endif
|
||||
@@ -4,8 +4,8 @@ D. J. Bernstein
|
||||
Public domain.
|
||||
*/
|
||||
|
||||
#include "api.h"
|
||||
#include "crypto_hashblocks_sha256.h"
|
||||
#include "crypto_hash.h"
|
||||
|
||||
#define blocks crypto_hashblocks_sha256
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ D. J. Bernstein
|
||||
Public domain.
|
||||
*/
|
||||
|
||||
#include "api.h"
|
||||
#include "crypto_hashblocks_sha512.h"
|
||||
#include "crypto_hash.h"
|
||||
|
||||
#define blocks crypto_hashblocks_sha512
|
||||
|
||||
|
||||
Reference in New Issue
Block a user