Fix aes cfb1 so that it can operate in bit mode.
authorShane Lontis <shane.lontis@oracle.com>
Thu, 27 May 2021 08:08:53 +0000 (18:08 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 1 Jun 2021 05:22:30 +0000 (15:22 +1000)
commite2311445bbfc9e2a6ff05e467cf13475b058d0a2
treefcb1072a80cc78fdaa5dc6685a7d4d0968c21106
parentd11dd381c561db5c5144e575ac6db63e07d5507b
Fix aes cfb1 so that it can operate in bit mode.

The code to handle the cipher operation was already in the provider.
It just needed a OSSL_PARAM in order to set this into the algorithm.
EVP_CIPHER_CTX_set_flags() has been modified to pass the OSSL_PARAM.

Issue reported by Mark Powers from Acumen.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15496)
crypto/evp/evp_lib.c
include/openssl/core_names.h
providers/implementations/ciphers/ciphercommon.c
test/acvp_test.c