mirror of
https://github.com/openssl/openssl.git
synced 2024-12-01 05:55:11 +08:00
Fix AES-CBC perf test failure issue
As ossl_cipher_generic dosen't support to set key length, and "openssl speed aes-(128|192|256)-cbc" tests fail. A small fix by adding OSSL_CIPHER_PARAM_KEYLEN params. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14777)
This commit is contained in:
parent
30573117bb
commit
bec9289143
@ -97,6 +97,7 @@ CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_END(ossl_cipher_generic)
|
||||
CIPHER_DEFAULT_SETTABLE_CTX_PARAMS_START(ossl_cipher_generic)
|
||||
OSSL_PARAM_uint(OSSL_CIPHER_PARAM_TLS_VERSION, NULL),
|
||||
OSSL_PARAM_size_t(OSSL_CIPHER_PARAM_TLS_MAC_SIZE, NULL),
|
||||
OSSL_PARAM_size_t(OSSL_CIPHER_PARAM_KEYLEN, NULL),
|
||||
CIPHER_DEFAULT_SETTABLE_CTX_PARAMS_END(ossl_cipher_generic)
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user