/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 | 49 extern int crypto_create_ctx_template(crypto_mechanism_t *mech, 56 extern int crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, 58 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, 66 extern int crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, 68 extern int crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext,
|
H A D | common.h | 53 } crypto_mechanism_t; typedef
|
/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 *, 119 aes_check_mech_param(crypto_mechanism_t *mechanism, aes_ctx_t **ctx) in aes_check_mech_param() 173 aes_encrypt_atomic(crypto_mechanism_t *mechanism, in aes_encrypt_atomic() 272 aes_decrypt_atomic(crypto_mechanism_t *mechanism, 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 *, 368 sha2_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha2_mac_init() 555 sha2_mac_atomic(crypto_mechanism_t *mechanism, in sha2_mac_atomic() 658 sha2_mac_verify_atomic(crypto_mechanism_t *mechanism, 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/module/icp/api/ |
H A D | kcf_cipher.c | 69 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, in crypto_encrypt() 91 crypto_mechanism_t lmech = *mech; in crypto_encrypt() 140 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext, in crypto_decrypt() 162 crypto_mechanism_t lmech = *mech; in crypto_decrypt()
|
H A D | kcf_mac.c | 85 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, in crypto_mac() 107 crypto_mechanism_t lmech = *mech; in crypto_mac() 158 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov() 171 crypto_mechanism_t lmech = *mech; 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_ctxops.c | 71 crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_create_ctx_template() 78 crypto_mechanism_t prov_mech; in crypto_create_ctx_template()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | hkdf.c | 30 crypto_mechanism_t mech; in hkdf_sha512_extract() 68 crypto_mechanism_t mech; in hkdf_sha512_expand()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | freebsd_crypto.h | 60 typedef void *crypto_mechanism_t; typedef
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | crypto_test.c | 601 init_mech(crypto_mechanism_t *mech, crypto_test_alg_t alg, in init_mech() 651 encrypt_one(crypto_mechanism_t *mech, in encrypt_one() 709 decrypt_one(crypto_mechanism_t *mech, in decrypt_one() 944 crypto_mechanism_t mech = {}; in run_tests() 1097 crypto_mechanism_t mech = {}; in perf_alg_cb()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 227 crypto_mechanism_t mech = {0}; in zio_crypt_key_init() 317 crypto_mechanism_t mech; in zio_crypt_key_change_salt() 401 crypto_mechanism_t mech; in zio_do_crypt_uio() 562 crypto_mechanism_t mech; in zio_crypt_key_unwrap() 682 crypto_mechanism_t mech; in zio_crypt_do_hmac() 1140 crypto_mechanism_t mech; in zio_crypt_do_objset_hmacs()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 233 crypto_mechanism_t mech __unused; in zio_crypt_key_init() 306 crypto_mechanism_t mech __unused; in zio_crypt_key_change_salt()
|