forked from wolfSSL/wolfssl
addition to aes and alteration to md files
This commit is contained in:
3748
wolfcrypt/src/aes.c
3748
wolfcrypt/src/aes.c
File diff suppressed because it is too large
Load Diff
@@ -2960,7 +2960,7 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
||||
switch (sigOID) {
|
||||
#ifndef NO_MD5
|
||||
case CTC_MD5wRSA:
|
||||
if (Md5Hash(buf, bufSz, digest) == 0) {
|
||||
if (wc_Md5Hash(buf, bufSz, digest) == 0) {
|
||||
typeH = MD5h;
|
||||
digestSz = MD5_DIGEST_SIZE;
|
||||
}
|
||||
@@ -2968,7 +2968,7 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
||||
#endif
|
||||
#if defined(WOLFSSL_MD2)
|
||||
case CTC_MD2wRSA:
|
||||
if (Md2Hash(buf, bufSz, digest) == 0) {
|
||||
if (wc_Md2Hash(buf, bufSz, digest) == 0) {
|
||||
typeH = MD2h;
|
||||
digestSz = MD2_DIGEST_SIZE;
|
||||
}
|
||||
@@ -2978,7 +2978,7 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
||||
case CTC_SHAwRSA:
|
||||
case CTC_SHAwDSA:
|
||||
case CTC_SHAwECDSA:
|
||||
if (ShaHash(buf, bufSz, digest) == 0) {
|
||||
if (wc_ShaHash(buf, bufSz, digest) == 0) {
|
||||
typeH = SHAh;
|
||||
digestSz = SHA_DIGEST_SIZE;
|
||||
}
|
||||
@@ -2996,7 +2996,7 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
||||
#ifdef WOLFSSL_SHA512
|
||||
case CTC_SHA512wRSA:
|
||||
case CTC_SHA512wECDSA:
|
||||
if (Sha512Hash(buf, bufSz, digest) == 0) {
|
||||
if (wc_Sha512Hash(buf, bufSz, digest) == 0) {
|
||||
typeH = SHA512h;
|
||||
digestSz = SHA512_DIGEST_SIZE;
|
||||
}
|
||||
@@ -3005,7 +3005,7 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
||||
#ifdef WOLFSSL_SHA384
|
||||
case CTC_SHA384wRSA:
|
||||
case CTC_SHA384wECDSA:
|
||||
if (Sha384Hash(buf, bufSz, digest) == 0) {
|
||||
if (wc_Sha384Hash(buf, bufSz, digest) == 0) {
|
||||
typeH = SHA384h;
|
||||
digestSz = SHA384_DIGEST_SIZE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user