Remove warnings from clang --analyze

This commit is contained in:
Zhi Guan
2024-06-18 09:25:52 +08:00
parent f11be42de7
commit 5821f2041d
5 changed files with 4 additions and 8 deletions

View File

@@ -124,7 +124,6 @@ int sm4_cfb_encrypt_update(SM4_CFB_CTX *ctx,
sm4_cfb_encrypt(&ctx->sm4_key, ctx->sbytes, ctx->iv, in, len, out);
in += len;
inlen -= len;
out += len;
*outlen += len;
}
if (inlen) {
@@ -214,7 +213,6 @@ int sm4_cfb_decrypt_update(SM4_CFB_CTX *ctx,
sm4_cfb_decrypt(&ctx->sm4_key, ctx->sbytes, ctx->iv, in, len, out);
in += len;
inlen -= len;
out += len;
*outlen += len;
}
if (inlen) {