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)
|
byte **output, byte padValue)
|
||||||
{
|
{
|
||||||
int ret = BAD_FUNC_ARG;
|
int ret = BAD_FUNC_ARG;
|
||||||
word32 i;
|
word16 i;
|
||||||
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
||||||
byte invalid = 0;
|
byte invalid = 0;
|
||||||
#endif
|
#endif
|
||||||
@@ -1397,7 +1397,7 @@ static int RsaUnPad(const byte *pkcsBlock, unsigned int pkcsBlockLen,
|
|||||||
}
|
}
|
||||||
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
||||||
else {
|
else {
|
||||||
word32 j;
|
word16 j;
|
||||||
word16 pastSep = 0;
|
word16 pastSep = 0;
|
||||||
|
|
||||||
/* Decrypted with private key - unpad must be constant time. */
|
/* Decrypted with private key - unpad must be constant time. */
|
||||||
|
Reference in New Issue
Block a user