Some updates

This commit is contained in:
WolverinDEV 2019-07-07 19:13:11 +02:00
parent d7962af38e
commit bd69955e34
2 changed files with 2 additions and 2 deletions

View File

@ -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) { \

View File

@ -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)