4
0
mirror of https://github.com/QuasarApp/openssl.git synced 2025-04-29 11:14:36 +00:00

Fix sparc t4 build error 'undefined symbol: cipher_hw_generic_cbc'

cipher_hw_generic_##mode has been renamed to ossl_cipher_hw_generic_##mode.
There were a few missing renames for t4 in .inc files.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13213)
This commit is contained in:
Shane Lontis 2020-10-22 11:07:58 +10:00
parent 47b422c90a
commit 5723a8ec51
2 changed files with 2 additions and 2 deletions
providers/implementations/ciphers

@ -88,7 +88,7 @@ static int cipher_hw_aes_t4_initkey(PROV_CIPHER_CTX *dat,
#define PROV_CIPHER_HW_declare(mode) \ #define PROV_CIPHER_HW_declare(mode) \
static const PROV_CIPHER_HW aes_t4_##mode = { \ static const PROV_CIPHER_HW aes_t4_##mode = { \
cipher_hw_aes_t4_initkey, \ cipher_hw_aes_t4_initkey, \
cipher_hw_generic_##mode, \ ossl_cipher_hw_generic_##mode, \
cipher_hw_aes_copyctx \ cipher_hw_aes_copyctx \
}; };
#define PROV_CIPHER_HW_select(mode) \ #define PROV_CIPHER_HW_select(mode) \

@ -76,7 +76,7 @@ static int cipher_hw_camellia_t4_initkey(PROV_CIPHER_CTX *dat,
#define PROV_CIPHER_HW_declare(mode) \ #define PROV_CIPHER_HW_declare(mode) \
static const PROV_CIPHER_HW t4_camellia_##mode = { \ static const PROV_CIPHER_HW t4_camellia_##mode = { \
cipher_hw_camellia_t4_initkey, \ cipher_hw_camellia_t4_initkey, \
cipher_hw_generic_##mode, \ ossl_cipher_hw_generic_##mode, \
cipher_hw_camellia_copyctx \ cipher_hw_camellia_copyctx \
}; };
#define PROV_CIPHER_HW_select(mode) \ #define PROV_CIPHER_HW_select(mode) \