Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
*** 46,56 ****
&mod_cryptoops,
"Skein Kernel SW Provider"
};
static struct modlinkage modlinkage = {
! MODREV_1, &modlmisc, &modlcrypto, NULL
};
static crypto_mech_info_t skein_mech_info_tab[] = {
{CKM_SKEIN_256, SKEIN_256_MECH_INFO_TYPE,
CRYPTO_FG_DIGEST | CRYPTO_FG_DIGEST_ATOMIC,
--- 46,56 ----
&mod_cryptoops,
"Skein Kernel SW Provider"
};
static struct modlinkage modlinkage = {
! MODREV_1, { &modlmisc, &modlcrypto, NULL }
};
static crypto_mech_info_t skein_mech_info_tab[] = {
{CKM_SKEIN_256, SKEIN_256_MECH_INFO_TYPE,
CRYPTO_FG_DIGEST | CRYPTO_FG_DIGEST_ATOMIC,
*** 120,130 ****
static crypto_ctx_ops_t skein_ctx_ops = {
skein_create_ctx_template,
skein_free_context
};
! static crypto_ops_t skein_crypto_ops = {
&skein_control_ops,
&skein_digest_ops,
NULL,
&skein_mac_ops,
NULL,
--- 120,130 ----
static crypto_ctx_ops_t skein_ctx_ops = {
skein_create_ctx_template,
skein_free_context
};
! static crypto_ops_t skein_crypto_ops = {{{{{{
&skein_control_ops,
&skein_digest_ops,
NULL,
&skein_mac_ops,
NULL,
*** 134,159 ****
NULL,
NULL,
NULL,
NULL,
NULL,
! &skein_ctx_ops,
! NULL,
! NULL,
! NULL
! };
! static crypto_provider_info_t skein_prov_info = {
CRYPTO_SPI_VERSION_4,
"Skein Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&skein_crypto_ops,
sizeof (skein_mech_info_tab) / sizeof (crypto_mech_info_t),
skein_mech_info_tab
! };
static crypto_kcf_provider_handle_t skein_prov_handle = 0;
typedef struct skein_ctx {
skein_mech_type_t sc_mech_type;
--- 134,159 ----
NULL,
NULL,
NULL,
NULL,
NULL,
! &skein_ctx_ops }, /* cou_v1 */
! NULL }, /* cou_v2 */
! NULL }, /* cou_v3 */
! NULL } /* cou_v4 */
! }};
! static crypto_provider_info_t skein_prov_info = {{{{
CRYPTO_SPI_VERSION_4,
"Skein Software Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&skein_crypto_ops,
sizeof (skein_mech_info_tab) / sizeof (crypto_mech_info_t),
skein_mech_info_tab
! }}}};
static crypto_kcf_provider_handle_t skein_prov_handle = 0;
typedef struct skein_ctx {
skein_mech_type_t sc_mech_type;