From c7d1424adf518b8cd3c081724244ee75540b468b Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Thu, 27 Jun 2019 06:38:14 +0900 Subject: [PATCH] word16 for consistency --- wolfcrypt/src/rsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/rsa.c b/wolfcrypt/src/rsa.c index 11fd5a0b8..4c47cd7d9 100644 --- a/wolfcrypt/src/rsa.c +++ b/wolfcrypt/src/rsa.c @@ -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. */