forked from wolfSSL/wolfssl
word16 for consistency
This commit is contained in:
@@ -1367,7 +1367,7 @@ static int RsaUnPad(const byte *pkcsBlock, unsigned int pkcsBlockLen,
|
||||
byte **output, byte padValue)
|
||||
{
|
||||
int ret = BAD_FUNC_ARG;
|
||||
word32 i;
|
||||
word16 i;
|
||||
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
||||
byte invalid = 0;
|
||||
#endif
|
||||
@@ -1397,7 +1397,7 @@ static int RsaUnPad(const byte *pkcsBlock, unsigned int pkcsBlockLen,
|
||||
}
|
||||
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
||||
else {
|
||||
word32 j;
|
||||
word16 j;
|
||||
word16 pastSep = 0;
|
||||
|
||||
/* Decrypted with private key - unpad must be constant time. */
|
||||
|
Reference in New Issue
Block a user