Some updates
This commit is contained in:
parent
d7962af38e
commit
bd69955e34
@ -1,6 +1,6 @@
|
|||||||
#include "./digest.h"
|
#include "./digest.h"
|
||||||
#ifdef NO_OPEN_SSL
|
#ifdef NO_OPEN_SSL
|
||||||
#include <tomcrypt.h>
|
#include <tomcrypt.h>
|
||||||
|
|
||||||
#define DECLARE_DIGEST(name, _unused_, digestLength) \
|
#define DECLARE_DIGEST(name, _unused_, digestLength) \
|
||||||
void digest::tomcrypt::name(const char* input, size_t length, uint8_t* result) { \
|
void digest::tomcrypt::name(const char* input, size_t length, uint8_t* result) { \
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#ifdef NO_OPEN_SSL
|
#ifdef NO_OPEN_SSL
|
||||||
#define SHA_DIGEST_LENGTH (20)
|
#define SHA_DIGEST_LENGTH (20)
|
||||||
#define SHA256_DIGEST_LENGTH (32)
|
#define SHA256_DIGEST_LENGTH (32)
|
||||||
#define SHA512_DIGEST_LENGTH (64)
|
#define SHA512_DIGEST_LENGTH (64)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user