Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
*** 56,67 ****
"RSA Kernel SW Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
! (void *)&modlcrypto,
! NULL
};
/*
* CSPI information (entry points, provider info, etc.)
*/
--- 56,67 ----
"RSA Kernel SW Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
! { (void *)&modlcrypto,
! NULL }
};
/*
* CSPI information (entry points, provider info, etc.)
*/
*** 272,282 ****
static crypto_ctx_ops_t rsa_ctx_ops = {
NULL,
rsa_free_context
};
! static crypto_ops_t rsa_crypto_ops = {
&rsa_control_ops,
NULL,
&rsa_cipher_ops,
NULL,
&rsa_sign_ops,
--- 272,282 ----
static crypto_ctx_ops_t rsa_ctx_ops = {
NULL,
rsa_free_context
};
! static crypto_ops_t rsa_crypto_ops = {{{{{{
&rsa_control_ops,
NULL,
&rsa_cipher_ops,
NULL,
&rsa_sign_ops,
*** 286,311 ****
NULL,
NULL,
NULL,
NULL,
NULL,
! &rsa_ctx_ops,
! NULL,
! NULL,
! NULL,
! };
! static crypto_provider_info_t rsa_prov_info = {
CRYPTO_SPI_VERSION_4,
"RSA Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&rsa_crypto_ops,
sizeof (rsa_mech_info_tab)/sizeof (crypto_mech_info_t),
rsa_mech_info_tab
! };
static int rsa_encrypt_common(rsa_mech_type_t, crypto_key_t *,
crypto_data_t *, crypto_data_t *);
static int rsa_decrypt_common(rsa_mech_type_t, crypto_key_t *,
crypto_data_t *, crypto_data_t *);
--- 286,311 ----
NULL,
NULL,
NULL,
NULL,
NULL,
! &rsa_ctx_ops }, /* cou_v1 */
! NULL }, /* cou_v2 */
! NULL }, /* cou_v3 */
! NULL } /* cou_v4 */
! }};
! static crypto_provider_info_t rsa_prov_info = {{{{
CRYPTO_SPI_VERSION_4,
"RSA Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&rsa_crypto_ops,
sizeof (rsa_mech_info_tab)/sizeof (crypto_mech_info_t),
rsa_mech_info_tab
! }}}};
static int rsa_encrypt_common(rsa_mech_type_t, crypto_key_t *,
crypto_data_t *, crypto_data_t *);
static int rsa_decrypt_common(rsa_mech_type_t, crypto_key_t *,
crypto_data_t *, crypto_data_t *);