Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
@@ -60,12 +60,12 @@
"EC Kernel SW Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
- (void *)&modlcrypto,
- NULL
+ { (void *)&modlcrypto,
+ NULL }
};
/*
* CSPI information (entry points, provider info, etc.)
*/
@@ -189,11 +189,11 @@
NULL,
ecc_nostore_key_generate_pair,
ecc_nostore_key_derive
};
-static crypto_ops_t ecc_crypto_ops = {
+static crypto_ops_t ecc_crypto_ops = {{{{{{
&ecc_control_ops,
NULL,
NULL,
NULL,
&ecc_sign_ops,
@@ -203,26 +203,26 @@
NULL,
NULL,
NULL,
NULL,
NULL,
- NULL,
- NULL,
- &ecc_nostore_key_ops,
- NULL,
-};
+ NULL }, /* cou_v1 */
+ NULL }, /* cou_v2 */
+ &ecc_nostore_key_ops }, /* cou_v3 */
+ NULL }, /* cou_v4 */
+}};
-static crypto_provider_info_t ecc_prov_info = {
+static crypto_provider_info_t ecc_prov_info = {{{{
CRYPTO_SPI_VERSION_4,
"EC Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&ecc_crypto_ops,
sizeof (ecc_mech_info_tab)/sizeof (crypto_mech_info_t),
ecc_mech_info_tab
-};
+}}}};
static crypto_kcf_provider_handle_t ecc_prov_handle = NULL;
static int ecc_sign_common(ecc_ctx_t *, crypto_data_t *, crypto_data_t *,
crypto_req_handle_t);