-/* $OpenBSD: e_aes.c,v 1.47 2022/09/06 06:38:26 jsing Exp $ */
+/* $OpenBSD: e_aes.c,v 1.48 2022/09/10 17:45:10 jsing Exp $ */
/* ====================================================================
* Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved.
*
CRYPTO_cfb128_1_encrypt(in, out, MAXBITCHUNK*8, &dat->ks,
ctx->iv, &ctx->num, ctx->encrypt, dat->block);
len -= MAXBITCHUNK;
+ in += MAXBITCHUNK;
+ out += MAXBITCHUNK;
}
if (len)
CRYPTO_cfb128_1_encrypt(in, out, len*8, &dat->ks,