Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
*** 50,61 ****
"AES Kernel SW Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
! (void *)&modlcrypto,
! NULL
};
/*
* Mechanism info structure passed to KCF during registration.
*/
--- 50,61 ----
"AES Kernel SW Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
! { (void *)&modlcrypto,
! NULL }
};
/*
* Mechanism info structure passed to KCF during registration.
*/
*** 172,182 ****
static crypto_ctx_ops_t aes_ctx_ops = {
aes_create_ctx_template,
aes_free_context
};
! static crypto_ops_t aes_crypto_ops = {
&aes_control_ops,
NULL,
&aes_cipher_ops,
&aes_mac_ops,
NULL,
--- 172,182 ----
static crypto_ctx_ops_t aes_ctx_ops = {
aes_create_ctx_template,
aes_free_context
};
! static crypto_ops_t aes_crypto_ops = {{{{{{
&aes_control_ops,
NULL,
&aes_cipher_ops,
&aes_mac_ops,
NULL,
*** 186,211 ****
NULL,
NULL,
NULL,
NULL,
NULL,
! &aes_ctx_ops,
! NULL,
! NULL,
! NULL,
! };
! static crypto_provider_info_t aes_prov_info = {
CRYPTO_SPI_VERSION_4,
"AES Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&aes_crypto_ops,
sizeof (aes_mech_info_tab)/sizeof (crypto_mech_info_t),
aes_mech_info_tab
! };
static crypto_kcf_provider_handle_t aes_prov_handle = NULL;
static crypto_data_t null_crypto_data = { CRYPTO_DATA_RAW };
int
--- 186,211 ----
NULL,
NULL,
NULL,
NULL,
NULL,
! &aes_ctx_ops }, /* cou_v1 */
! NULL }, /* cou_v2 */
! NULL }, /* cou_v3 */
! NULL } /* cou_v4 */
! }};
! static crypto_provider_info_t aes_prov_info = {{{{
CRYPTO_SPI_VERSION_4,
"AES Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&aes_crypto_ops,
sizeof (aes_mech_info_tab)/sizeof (crypto_mech_info_t),
aes_mech_info_tab
! }}}};
static crypto_kcf_provider_handle_t aes_prov_handle = NULL;
static crypto_data_t null_crypto_data = { CRYPTO_DATA_RAW };
int