wolfSSL: Use new digest namespace
Signed-off-by: Sean Parkinson <sean@wolfssl.com>
This commit is contained in:
parent
847665ebec
commit
3d2f638d61
2 changed files with 18 additions and 17 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue