mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
module: icp: remove unused kcf_cipher operations
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12901
This commit is contained in:
@@ -115,19 +115,6 @@ extern int crypto_mac_final(crypto_context_t ctx, crypto_data_t *data,
|
||||
extern int crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext,
|
||||
crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext,
|
||||
crypto_call_req_t *cr);
|
||||
extern int crypto_encrypt_prov(crypto_provider_t, crypto_session_id_t,
|
||||
crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
|
||||
crypto_ctx_template_t, crypto_data_t *, crypto_call_req_t *);
|
||||
extern int crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key,
|
||||
crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr);
|
||||
extern int crypto_encrypt_init_prov(crypto_provider_t, crypto_session_id_t,
|
||||
crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
|
||||
crypto_context_t *, crypto_call_req_t *);
|
||||
extern int crypto_encrypt_update(crypto_context_t ctx,
|
||||
crypto_data_t *plaintext, crypto_data_t *ciphertext,
|
||||
crypto_call_req_t *cr);
|
||||
extern int crypto_encrypt_final(crypto_context_t ctx,
|
||||
crypto_data_t *ciphertext, crypto_call_req_t *cr);
|
||||
|
||||
/*
|
||||
* Single and multi-part decryption operations.
|
||||
@@ -135,20 +122,6 @@ extern int crypto_encrypt_final(crypto_context_t ctx,
|
||||
extern int crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext,
|
||||
crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext,
|
||||
crypto_call_req_t *cr);
|
||||
extern int crypto_decrypt_prov(crypto_provider_t, crypto_session_id_t,
|
||||
crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
|
||||
crypto_ctx_template_t, crypto_data_t *, crypto_call_req_t *);
|
||||
extern int crypto_decrypt_init(crypto_mechanism_t *mech, crypto_key_t *key,
|
||||
crypto_ctx_template_t tmpl, crypto_context_t *ctxp,
|
||||
crypto_call_req_t *cr);
|
||||
extern int crypto_decrypt_init_prov(crypto_provider_t, crypto_session_id_t,
|
||||
crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
|
||||
crypto_context_t *, crypto_call_req_t *);
|
||||
extern int crypto_decrypt_update(crypto_context_t ctx,
|
||||
crypto_data_t *ciphertext, crypto_data_t *plaintext,
|
||||
crypto_call_req_t *cr);
|
||||
extern int crypto_decrypt_final(crypto_context_t ctx, crypto_data_t *plaintext,
|
||||
crypto_call_req_t *cr);
|
||||
|
||||
/*
|
||||
* A kernel consumer can request to be notified when some particular event
|
||||
|
||||
Reference in New Issue
Block a user