diff options
author | наб <[email protected]> | 2021-12-25 03:23:07 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-15 16:25:07 -0800 |
commit | 739afd9475494ef8443a7f8e251bf2aaff895f35 (patch) | |
tree | b9b2dc7dbb6f8ca4cd38afbf2533cb93d340d857 /module/icp/api | |
parent | 1018e81e30f030c9cf8dbc52508088ce1983e36e (diff) |
module: icp: fold away all key formats except CRYPTO_KEY_RAW
It's the only one actually used
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12901
Diffstat (limited to 'module/icp/api')
-rw-r--r-- | module/icp/api/kcf_mac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/icp/api/kcf_mac.c b/module/icp/api/kcf_mac.c index 11102cdea..7bf0c499e 100644 --- a/module/icp/api/kcf_mac.c +++ b/module/icp/api/kcf_mac.c @@ -164,13 +164,12 @@ retry: * See comment in the beginning of the file. */ static int -crypto_mac_init_prov(crypto_provider_t provider, +crypto_mac_init_prov(kcf_provider_desc_t *pd, crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) { int rv; crypto_ctx_t *ctx; - kcf_provider_desc_t *pd = provider; kcf_provider_desc_t *real_provider = pd; ASSERT(KCF_PROV_REFHELD(pd)); |