sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-04 18:18:44 +00:00
parent ac79c66a3f
commit 8ed89093e5
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
49 changed files with 259 additions and 746 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: wp_dgst.c,v 1.5 2022/11/26 16:08:54 tb Exp $ */
/* $OpenBSD: wp_dgst.c,v 1.7 2023/09/04 08:43:41 tb Exp $ */
/**
* The Whirlpool hashing function.
*
@ -52,10 +52,12 @@
* input. This is done for performance.
*/
#include "wp_local.h"
#include <openssl/crypto.h>
#include <string.h>
#include <openssl/crypto.h>
#include "wp_local.h"
int WHIRLPOOL_Init(WHIRLPOOL_CTX *c)
{
memset (c,0,sizeof(*c));