@@ -10184,7 +10184,7 @@ static int DoPacket(WOLFSSH* ssh, byte* bufferConsumed)
1018410184
1018510185
1018610186static INLINE int Encrypt(WOLFSSH* ssh, byte* cipher, const byte* input,
10187- word16 sz)
10187+ word32 sz)
1018810188{
1018910189 int ret = WS_SUCCESS;
1019010190
@@ -10232,7 +10232,7 @@ static INLINE int Encrypt(WOLFSSH* ssh, byte* cipher, const byte* input,
1023210232
1023310233
1023410234static INLINE int Decrypt(WOLFSSH* ssh, byte* plain, const byte* input,
10235- word16 sz)
10235+ word32 sz)
1023610236{
1023710237 int ret = WS_SUCCESS;
1023810238
@@ -10478,9 +10478,9 @@ static INLINE void AeadIncrementExpIv(byte* iv)
1047810478
1047910479
1048010480static INLINE int EncryptAead(WOLFSSH* ssh, byte* cipher,
10481- const byte* input, word16 sz,
10481+ const byte* input, word32 sz,
1048210482 byte* authTag, const byte* auth,
10483- word16 authSz)
10483+ word32 authSz)
1048410484{
1048510485 int ret = WS_SUCCESS;
1048610486
@@ -10513,9 +10513,9 @@ static INLINE int EncryptAead(WOLFSSH* ssh, byte* cipher,
1051310513
1051410514
1051510515static INLINE int DecryptAead(WOLFSSH* ssh, byte* plain,
10516- const byte* input, word16 sz,
10516+ const byte* input, word32 sz,
1051710517 const byte* authTag, const byte* auth,
10518- word16 authSz)
10518+ word32 authSz)
1051910519{
1052010520 int ret = WS_SUCCESS;
1052110521
0 commit comments