mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
module: icp: spi: crypto_ops_t: remove unused op types
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
+2
-13
@@ -69,9 +69,7 @@ static const crypto_mech_info_t aes_mech_info_tab[] = {
|
||||
{SUN_CKM_AES_GMAC, AES_GMAC_MECH_INFO_TYPE,
|
||||
CRYPTO_FG_ENCRYPT | CRYPTO_FG_ENCRYPT_ATOMIC |
|
||||
CRYPTO_FG_DECRYPT | CRYPTO_FG_DECRYPT_ATOMIC |
|
||||
CRYPTO_FG_MAC | CRYPTO_FG_MAC_ATOMIC |
|
||||
CRYPTO_FG_SIGN | CRYPTO_FG_SIGN_ATOMIC |
|
||||
CRYPTO_FG_VERIFY | CRYPTO_FG_VERIFY_ATOMIC,
|
||||
CRYPTO_FG_MAC | CRYPTO_FG_MAC_ATOMIC,
|
||||
AES_MIN_KEY_BYTES, AES_MAX_KEY_BYTES, CRYPTO_KEYSIZE_UNIT_IN_BYTES}
|
||||
};
|
||||
|
||||
@@ -147,16 +145,7 @@ static const crypto_ops_t aes_crypto_ops = {
|
||||
NULL,
|
||||
&aes_cipher_ops,
|
||||
&aes_mac_ops,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&aes_ctx_ops
|
||||
&aes_ctx_ops,
|
||||
};
|
||||
|
||||
static const crypto_provider_info_t aes_prov_info = {
|
||||
|
||||
@@ -161,16 +161,7 @@ static const crypto_ops_t sha2_crypto_ops = {
|
||||
&sha2_digest_ops,
|
||||
NULL,
|
||||
&sha2_mac_ops,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&sha2_ctx_ops
|
||||
&sha2_ctx_ops,
|
||||
};
|
||||
|
||||
static const crypto_provider_info_t sha2_prov_info = {
|
||||
|
||||
@@ -99,15 +99,6 @@ static const crypto_ops_t skein_crypto_ops = {
|
||||
&skein_digest_ops,
|
||||
NULL,
|
||||
&skein_mac_ops,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
&skein_ctx_ops,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user