wolfSSL: Use new digest namespace

Signed-off-by: Sean Parkinson <sean@wolfssl.com>
This commit is contained in:
Sean Parkinson 2018-03-29 14:55:55 +10:00 committed by Jouni Malinen
parent 847665ebec
commit 3d2f638d61
2 changed files with 18 additions and 17 deletions

View file

@ -7,6 +7,7 @@
*/
#include "includes.h"
#include <wolfssl/options.h>
#include <wolfssl/wolfcrypt/sha.h>
#include "common.h"
@ -15,7 +16,7 @@
static void sha1_transform(u32 *state, const u8 data[64])
{
Sha sha;
wc_Sha sha;
os_memset(&sha, 0, sizeof(sha));
sha.digest[0] = state[0];