mbedtls: Change the last argument of cipher_[de|en]crypt_cbc to size_t

to avoid their prototype different from ssh_cipher_struct

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Sahana Prasad <sahana@redhat.com>
Change-Id: I6cba2d4fea131f13d028226023da692494caa87d
This commit is contained in:
Xiang Xiao
2021-05-09 07:45:29 -07:00
committed by Jakub Jelen
parent 053ed5bd91
commit aef467ab4a

View File

@@ -693,7 +693,7 @@ static void cipher_encrypt(struct ssh_cipher_struct *cipher,
}
static void cipher_encrypt_cbc(struct ssh_cipher_struct *cipher, void *in, void *out,
unsigned long len)
size_t len)
{
size_t outlen = 0;
int rc = 0;
@@ -751,7 +751,7 @@ static void cipher_decrypt(struct ssh_cipher_struct *cipher,
}
static void cipher_decrypt_cbc(struct ssh_cipher_struct *cipher, void *in, void *out,
unsigned long len)
size_t len)
{
size_t outlen = 0;
int rc = 0;