/freebsd/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
H A D | spi.h | 77 int (*encrypt_atomic)(crypto_mechanism_t *, crypto_key_t *, 79 int (*decrypt_atomic)(crypto_mechanism_t *, crypto_key_t *, 91 crypto_mechanism_t *, crypto_key_t *, 99 int (*mac_atomic)(crypto_mechanism_t *, crypto_key_t *, 101 int (*mac_verify_atomic)(crypto_mechanism_t *, crypto_key_t *, 112 int (*create_ctx_template)(crypto_mechanism_t *, crypto_key_t *,
|
/freebsd/sys/contrib/openzfs/include/sys/crypto/ |
H A D | api.h | 50 crypto_key_t *key, crypto_ctx_template_t *tmpl); 57 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac); 58 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, 67 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext); 69 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext);
|
H A D | common.h | 112 } crypto_key_t; typedef
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | freebsd_crypto.h | 70 } crypto_key_t; typedef 80 void crypto_mac(const crypto_key_t *key, const void *in_data, 82 void crypto_mac_init(struct hmac_ctx *ctx, const crypto_key_t *key); 89 const struct zio_crypt_info *, crypto_key_t *); 93 const struct zio_crypt_info *, zfs_uio_t *, crypto_key_t *, uint8_t *,
|
/freebsd/sys/contrib/openzfs/module/icp/io/ |
H A D | aes.c | 53 crypto_mechanism_t *, crypto_key_t *, int, boolean_t); 55 static int aes_encrypt_atomic(crypto_mechanism_t *, crypto_key_t *, 58 static int aes_decrypt_atomic(crypto_mechanism_t *, crypto_key_t *, 66 static int aes_create_ctx_template(crypto_mechanism_t *, crypto_key_t *, 154 init_keysched(crypto_key_t *key, void *newbie) in init_keysched() 174 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, in aes_encrypt_atomic() 273 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext, in aes_decrypt_atomic() 388 aes_create_ctx_template(crypto_mechanism_t *mechanism, crypto_key_t *key, in aes_create_ctx_template() 443 crypto_mechanism_t *mechanism, crypto_key_t *key, int kmflag, in aes_common_init_ctx()
|
H A D | sha2_mod.c | 69 static int sha2_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, 73 static int sha2_mac_atomic(crypto_mechanism_t *, crypto_key_t *, 75 static int sha2_mac_verify_atomic(crypto_mechanism_t *, crypto_key_t *, 87 static int sha2_create_ctx_template(crypto_mechanism_t *, crypto_key_t *, 369 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template) in sha2_mac_init() 556 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in sha2_mac_atomic() 659 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in sha2_mac_verify_atomic() 803 sha2_create_ctx_template(crypto_mechanism_t *mechanism, crypto_key_t *key, in sha2_create_ctx_template()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zio_crypt.h | 103 crypto_key_t zk_current_key; 114 crypto_key_t zk_hmac_key; 127 int zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, 129 int zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version,
|
H A D | qat.h | 184 crypto_key_t *key, uint64_t crypt, uint32_t enc_len);
|
H A D | dsl_crypt.h | 63 crypto_key_t wk_key;
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | crypto_os.c | 56 crypto_mac_init(struct hmac_ctx *ctx, const crypto_key_t *c_key) in crypto_mac_init() 127 crypto_mac(const crypto_key_t *key, const void *in_data, size_t in_data_size, in crypto_mac() 208 crypto_key_t *key, in freebsd_crypt_uio_debug_log() 248 const struct zio_crypt_info *c_info, crypto_key_t *key) in freebsd_crypt_newsession() 330 crypto_key_t *key, in freebsd_crypt_uio()
|
H A D | hkdf.c | 30 crypto_key_t key; in hkdf_sha512_extract() 46 crypto_key_t key; in hkdf_sha512_expand()
|
H A D | zio_crypt.c | 399 uint64_t crypt, crypto_key_t *key, uint8_t *ivbuf, uint_t datalen, in zio_do_crypt_uio_opencrypto() 422 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, in zio_crypt_key_wrap() 500 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, in zio_crypt_key_unwrap() 1686 crypto_key_t tmp_ckey, *ckey = NULL; in zio_do_crypt_data()
|
/freebsd/sys/contrib/openzfs/module/icp/api/ |
H A D | kcf_mac.c | 86 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac) in crypto_mac() 158 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov() 191 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()
|
H A D | kcf_cipher.c | 70 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext) in crypto_encrypt() 141 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext) in crypto_decrypt()
|
H A D | kcf_ctxops.c | 71 crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_create_ctx_template()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | hkdf.c | 31 crypto_key_t key; in hkdf_sha512_extract() 70 crypto_key_t key; in hkdf_sha512_expand()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | qat_crypt.c | 157 CpaCySymSessionCtx **cy_session_ctx, crypto_key_t *key, in qat_init_crypt_session_ctx() 296 crypto_key_t *key, uint64_t crypt, uint32_t enc_len) in qat_crypt()
|
H A D | zio_crypt.c | 393 zio_do_crypt_uio(boolean_t encrypt, uint64_t crypt, crypto_key_t *key, in zio_do_crypt_uio() 489 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, in zio_crypt_key_wrap() 558 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, in zio_crypt_key_unwrap() 1924 crypto_key_t tmp_ckey, *ckey = NULL; in zio_do_crypt_data()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | crypto_test.c | 659 crypto_key_t k = { in encrypt_one() 720 crypto_key_t k = { in decrypt_one()
|