Home
last modified time | relevance | path

Searched refs:crypto_key_t (Results 1 – 24 of 24) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/sys/crypto/
H A Dapi.h94 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
100 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
119 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
214 crypto_key_t *encr_key, crypto_key_t *mac_key,
219 crypto_key_t *, crypto_key_t *, crypto_ctx_template_t,
228 crypto_mechanism_t *, crypto_mechanism_t *, crypto_key_t *, crypto_key_t *,
241 crypto_key_t *mac_key, crypto_key_t *decr_key,
246 crypto_dual_data_t *ct, crypto_key_t *mac_key, crypto_key_t *decr_key,
251 crypto_key_t *mac_key, crypto_key_t *decr_key,
257 crypto_key_t *mac_key, crypto_key_t *decr_key,
[all …]
H A Dcommon.h337 } crypto_key_t; typedef
/f-stack/freebsd/contrib/openzfs/module/icp/include/sys/crypto/
H A Dspi.h140 crypto_mechanism_t *, crypto_key_t *,
174 crypto_mechanism_t *, crypto_key_t *,
183 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
187 crypto_mechanism_t *, crypto_key_t *,
196 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
208 crypto_mechanism_t *, crypto_key_t *,
247 crypto_key_t *, crypto_spi_ctx_template_t,
278 crypto_key_t *, crypto_spi_ctx_template_t,
320 crypto_key_t *, crypto_spi_ctx_template_t,
337 crypto_key_t *, crypto_spi_ctx_template_t,
[all …]
H A Dops_impl.h57 crypto_key_t *do_digest_key; /* Argument for digest_key() */
64 crypto_key_t *mo_key;
74 crypto_key_t *eo_key;
84 crypto_key_t *dop_key;
94 crypto_key_t *so_key;
104 crypto_key_t *vo_key;
114 crypto_key_t *em_encr_key;
117 crypto_key_t *em_mac_key;
129 crypto_key_t *md_mac_key;
132 crypto_key_t *md_decr_key;
[all …]
H A Dioctl.h261 crypto_key_t ei_key;
294 crypto_key_t di_key;
338 crypto_key_t dk_key;
361 crypto_key_t mi_key;
391 crypto_key_t si_key;
412 crypto_key_t ri_key;
437 crypto_key_t vi_key;
458 crypto_key_t ri_key;
1083 crypto_key_t wk_wrapping_key;
1105 crypto_key_t dk_base_key;
[all …]
H A Dimpl.h1212 extern int crypto_digest_key_prov(crypto_context_t, crypto_key_t *,
1310 extern int crypto_copy_key_to_ctx(crypto_key_t *, crypto_key_t **, size_t *,
1323 extern int crypto_get_key_attr(crypto_key_t *, crypto_attr_type_t, uchar_t **,
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dfreebsd_crypto.h72 } crypto_key_t; typedef
82 void crypto_mac(const crypto_key_t *key, const void *in_data,
84 void crypto_mac_init(struct hmac_ctx *ctx, const crypto_key_t *key);
91 struct zio_crypt_info *, crypto_key_t *);
95 struct zio_crypt_info *, uio_t *, crypto_key_t *, uint8_t *,
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzio_crypt.h102 crypto_key_t zk_current_key;
113 crypto_key_t zk_hmac_key;
126 int zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv,
128 int zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version,
H A Dqat.h183 crypto_key_t *key, uint64_t crypt, uint32_t enc_len);
H A Ddsl_crypt.h62 crypto_key_t wk_key;
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Daes.c102 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
108 crypto_mechanism_t *, crypto_key_t *, int, boolean_t);
119 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
127 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
287 init_keysched(crypto_key_t *key, void *newbie) in init_keysched()
323 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_encrypt_init()
331 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_decrypt_init()
344 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_common_init()
1241 crypto_mechanism_t *mechanism, crypto_key_t *key, in aes_create_ctx_template()
1418 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in aes_mac_atomic()
[all …]
H A Dskein_mod.c99 static int skein_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
102 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
115 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
583 crypto_key_t *key) in skein_mac_ctx_build()
614 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in skein_mac_init()
653 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in skein_mac_atomic()
693 crypto_mechanism_t *mechanism, crypto_key_t *key, in skein_create_ctx_template()
H A Dsha1_mod.c127 static int sha1_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
133 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
136 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
149 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
689 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in sha1_mac_init()
884 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in sha1_mac_atomic()
1000 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in sha1_mac_verify_atomic()
1153 crypto_mechanism_t *mechanism, crypto_key_t *key, in sha1_create_ctx_template()
H A Dsha2_mod.c154 static int sha2_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
160 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
163 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
176 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
758 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in sha2_mac_init()
990 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in sha2_mac_atomic()
1128 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in sha2_mac_verify_atomic()
1307 crypto_mechanism_t *mechanism, crypto_key_t *key, in sha2_create_ctx_template()
/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_cipher.c101 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init_prov()
224 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init()
314 crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, in crypto_encrypt_prov()
350 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, in crypto_encrypt()
427 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_encrypt_init_prov()
441 crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_encrypt_init()
596 crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, in crypto_decrypt_prov()
633 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext, in crypto_decrypt()
710 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_init_prov()
724 crypto_decrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_init()
H A Dkcf_mac.c91 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, in crypto_mac_prov()
125 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac()
216 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, in crypto_mac_verify_prov()
250 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac_verify()
368 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov()
430 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()
H A Dkcf_ctxops.c71 crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_create_ctx_template()
H A Dkcf_digest.c417 crypto_digest_key_prov(crypto_context_t context, crypto_key_t *key, in crypto_digest_key_prov()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c60 crypto_mac_init(struct hmac_ctx *ctx, const crypto_key_t *c_key) in crypto_mac_init()
131 crypto_mac(const crypto_key_t *key, const void *in_data, size_t in_data_size, in crypto_mac()
201 crypto_key_t *key, in freebsd_crypt_uio_debug_log()
242 struct zio_crypt_info *c_info, crypto_key_t *key) in freebsd_crypt_newsession()
325 crypto_key_t *key, in freebsd_crypt_uio()
383 struct zio_crypt_info *c_info, crypto_key_t *key) in freebsd_crypt_newsession()
495 crypto_key_t *key, in freebsd_crypt_uio()
H A Dhkdf.c29 crypto_key_t key; in hkdf_sha512_extract()
46 crypto_key_t key; in hkdf_sha512_expand()
H A Dzio_crypt.c406 uint64_t crypt, crypto_key_t *key, uint8_t *ivbuf, uint_t datalen, in zio_do_crypt_uio_opencrypto()
432 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, in zio_crypt_key_wrap()
509 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, in zio_crypt_key_unwrap()
1680 crypto_key_t tmp_ckey, *ckey = NULL; in zio_do_crypt_data()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dhkdf.c30 crypto_key_t key; in hkdf_sha512_extract()
70 crypto_key_t key; in hkdf_sha512_expand()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dqat_crypt.c156 CpaCySymSessionCtx **cy_session_ctx, crypto_key_t *key, in qat_init_crypt_session_ctx()
295 crypto_key_t *key, uint64_t crypt, uint32_t enc_len) in qat_crypt()
H A Dzio_crypt.c377 zio_do_crypt_uio(boolean_t encrypt, uint64_t crypt, crypto_key_t *key, in zio_do_crypt_uio()
478 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, in zio_crypt_key_wrap()
548 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, in zio_crypt_key_unwrap()
1889 crypto_key_t tmp_ckey, *ckey = NULL; in zio_do_crypt_data()