diff options
author | наб <[email protected]> | 2021-12-24 16:26:11 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-15 16:24:19 -0800 |
commit | eb1e09b7ec5c388172fac7d505cd58af7fd9f4fa (patch) | |
tree | 40e0cdd20aa0a618a6fd60c6e7cfd63e0c8077e7 /include/sys/crypto | |
parent | 65a613b70d3f151ddd3ef43c93b7f889434b7204 (diff) |
module: icp: remove unused CRYPTO_ALWAYS_QUEUE
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12901
Diffstat (limited to 'include/sys/crypto')
-rw-r--r-- | include/sys/crypto/api.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/sys/crypto/api.h b/include/sys/crypto/api.h index 1f22d2c85..65f3237ba 100644 --- a/include/sys/crypto/api.h +++ b/include/sys/crypto/api.h @@ -41,7 +41,6 @@ typedef void *crypto_ctx_template_t; typedef uint32_t crypto_call_flag_t; /* crypto_call_flag's values */ -#define CRYPTO_ALWAYS_QUEUE 0x00000001 /* ALWAYS queue the req. */ #define CRYPTO_NOTIFY_OPDONE 0x00000002 /* Notify intermediate steps */ #define CRYPTO_SKIP_REQID 0x00000004 /* Skip request ID generation */ #define CRYPTO_RESTRICTED 0x00000008 /* cannot use restricted prov */ @@ -73,18 +72,10 @@ extern void crypto_destroy_ctx_template(crypto_ctx_template_t tmpl); extern int crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *cr); -extern int crypto_mac_verify(crypto_mechanism_t *mech, crypto_data_t *data, - crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, - crypto_call_req_t *cr); extern int crypto_mac_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_mac_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_mac_update(crypto_context_t ctx, crypto_data_t *data, - crypto_call_req_t *cr); -extern int crypto_mac_final(crypto_context_t ctx, crypto_data_t *data, - crypto_call_req_t *cr); +extern int crypto_mac_update(crypto_context_t ctx, crypto_data_t *data); +extern int crypto_mac_final(crypto_context_t ctx, crypto_data_t *data); /* * Single and multi-part encryption operations. |