Remove block_mask from EVP_CIPHER_CTX
authortb <tb@openbsd.org>
Wed, 20 Dec 2023 14:10:03 +0000 (14:10 +0000)
committertb <tb@openbsd.org>
Wed, 20 Dec 2023 14:10:03 +0000 (14:10 +0000)
commitcdb4020faedf06d39f455c9feff7c6e1730ac6e1
tree418af55d6ff6080884e7d696a0de381c63a0bca0
parent1d4d2a17aac7dbfc3494125876d7069b17754e0c
Remove block_mask from EVP_CIPHER_CTX

The block mask is only used in EVP_{De,En}cryptUpdate(). There's no need to
hang it off the EVP_CIPHER_CTX since it is easy to compute and validate.

ok joshua jsing
lib/libcrypto/evp/evp_enc.c
lib/libcrypto/evp/evp_local.h