mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
module: icp: spi: flatten struct crypto_ops, crypto_provider_info
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -157,7 +157,7 @@ static const crypto_ctx_ops_t sha2_ctx_ops = {
|
||||
.free_context = sha2_free_context
|
||||
};
|
||||
|
||||
static const crypto_ops_t sha2_crypto_ops = {{{{{
|
||||
static const crypto_ops_t sha2_crypto_ops = {
|
||||
&sha2_digest_ops,
|
||||
NULL,
|
||||
&sha2_mac_ops,
|
||||
@@ -171,17 +171,16 @@ static const crypto_ops_t sha2_crypto_ops = {{{{{
|
||||
NULL,
|
||||
NULL,
|
||||
&sha2_ctx_ops
|
||||
}}}}};
|
||||
};
|
||||
|
||||
static const crypto_provider_info_t sha2_prov_info = {{{{
|
||||
CRYPTO_SPI_VERSION_1,
|
||||
static const crypto_provider_info_t sha2_prov_info = {
|
||||
"SHA2 Software Provider",
|
||||
CRYPTO_SW_PROVIDER,
|
||||
NULL,
|
||||
&sha2_crypto_ops,
|
||||
sizeof (sha2_mech_info_tab) / sizeof (crypto_mech_info_t),
|
||||
sha2_mech_info_tab
|
||||
}}}};
|
||||
};
|
||||
|
||||
static crypto_kcf_provider_handle_t sha2_prov_handle = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user