mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
module: icp: remove unused (and mostly faked) cm_{{min,max}_key_length,mech_flags}
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -83,14 +83,7 @@ extern "C" {
|
||||
|
||||
/* AES key size definitions */
|
||||
#define AES_MINBITS 128
|
||||
#define AES_MINBYTES ((AES_MINBITS) >> 3)
|
||||
#define AES_MAXBITS 256
|
||||
#define AES_MAXBYTES ((AES_MAXBITS) >> 3)
|
||||
|
||||
#define AES_MIN_KEY_BYTES ((AES_MINBITS) >> 3)
|
||||
#define AES_MAX_KEY_BYTES ((AES_MAXBITS) >> 3)
|
||||
#define AES_192_KEY_BYTES 24
|
||||
#define AES_IV_LEN 16
|
||||
|
||||
/* AES key schedule may be implemented with 32- or 64-bit elements: */
|
||||
#define AES_32BIT_KS 32
|
||||
|
||||
@@ -203,11 +203,7 @@ typedef struct crypto_mech_info {
|
||||
crypto_mech_name_t cm_mech_name;
|
||||
crypto_mech_type_t cm_mech_number;
|
||||
crypto_func_group_t cm_func_group_mask;
|
||||
ssize_t cm_min_key_length;
|
||||
ssize_t cm_max_key_length;
|
||||
uint32_t cm_mech_flags;
|
||||
} crypto_mech_info_t;
|
||||
#define cm_max_input_length cm_max_key_length
|
||||
|
||||
/*
|
||||
* crypto_kcf_provider_handle_t is a handle allocated by the kernel.
|
||||
|
||||
Reference in New Issue
Block a user