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.
#include <string.h>
#include <termios.h>
-#include <openssl/sha.h>
+#include "hash/sha512.h"
#include <libperfstat.h>
#include <errno.h>
#include <unistd.h>
#include <time.h>
-#include <openssl/sha.h>
+
+#include "hash/sha512.h"
#include <sys/vfs.h>
#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>
#include <sys/types.h>
+#define SHA512_DIGEST_LENGTH 64
+
typedef struct SHA512Context {
uint64_t state[8];
uint64_t count[2];