Commit 8493c7f2 authored by Guillem Jover's avatar Guillem Jover

Use local SHA512 header

Actually use the local private SHA512 header instead of relying on the
OpenSSL one for no good reason. Add definition for expected macro
SHA512_DIGEST_LENGTH.
parent 2b030da0
......@@ -39,7 +39,7 @@
#include <string.h>
#include <termios.h>
#include <openssl/sha.h>
#include "hash/sha512.h"
#include <libperfstat.h>
......
......@@ -41,7 +41,8 @@
#include <errno.h>
#include <unistd.h>
#include <time.h>
#include <openssl/sha.h>
#include "hash/sha512.h"
#include <sys/vfs.h>
......
......@@ -47,7 +47,8 @@
#include <errno.h>
#include <unistd.h>
#include <time.h>
#include <openssl/sha.h>
#include "hash/sha512.h"
#include <linux/types.h>
#include <linux/random.h>
......
......@@ -31,6 +31,8 @@
#include <sys/types.h>
#define SHA512_DIGEST_LENGTH 64
typedef struct SHA512Context {
uint64_t state[8];
uint64_t count[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment