Fix sparc t4 build error 'undefined symbol: cipher_hw_generic_cbc'
authorShane Lontis <shane.lontis@oracle.com>
Thu, 22 Oct 2020 01:07:58 +0000 (11:07 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 27 Oct 2020 05:32:59 +0000 (15:32 +1000)
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)

providers/implementations/ciphers/cipher_aes_hw_t4.inc
providers/implementations/ciphers/cipher_camellia_hw_t4.inc

index 07b65789f13bde38829be3eaff48cefda989b96a..60bee098429cac06f798d9c70f225625971248b3 100644 (file)
@@ -88,7 +88,7 @@ static int cipher_hw_aes_t4_initkey(PROV_CIPHER_CTX *dat,
 #define PROV_CIPHER_HW_declare(mode)                                           \
 static const PROV_CIPHER_HW aes_t4_##mode = {                                  \
     cipher_hw_aes_t4_initkey,                                                  \
-    cipher_hw_generic_##mode,                                                  \
+    ossl_cipher_hw_generic_##mode,                                             \
     cipher_hw_aes_copyctx                                                      \
 };
 #define PROV_CIPHER_HW_select(mode)                                            \
index 96e5e20dbc283c4d180ab3bfd50ee67fe2afb0a4..803ffa7b7d33276f494fa31e9d49b4ef91ff23c4 100644 (file)
@@ -76,7 +76,7 @@ static int cipher_hw_camellia_t4_initkey(PROV_CIPHER_CTX *dat,
 #define PROV_CIPHER_HW_declare(mode)                                           \
 static const PROV_CIPHER_HW t4_camellia_##mode = {                             \
     cipher_hw_camellia_t4_initkey,                                             \
-    cipher_hw_generic_##mode,                                                  \
+    ossl_cipher_hw_generic_##mode,                                             \
     cipher_hw_camellia_copyctx                                                 \
 };
 #define PROV_CIPHER_HW_select(mode)                                            \