Home
last modified time | relevance | path

Searched defs:tfm (Results 201 – 225 of 390) sorted by relevance

12345678910>>...16

/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c108 static int nitrox_skcipher_init(struct crypto_skcipher *tfm) in nitrox_skcipher_init()
134 static int nitrox_cbc_init(struct crypto_skcipher *tfm) in nitrox_cbc_init()
147 static void nitrox_skcipher_exit(struct crypto_skcipher *tfm) in nitrox_skcipher_exit()
169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey() local
/openbmc/linux/drivers/crypto/hisilicon/trng/
H A Dtrng.c83 static int hisi_trng_seed(struct crypto_rng *tfm, const u8 *seed, in hisi_trng_seed()
112 static int hisi_trng_generate(struct crypto_rng *tfm, const u8 *src, in hisi_trng_generate()
154 static int hisi_trng_init(struct crypto_tfm *tfm) in hisi_trng_init()
174 static void hisi_trng_exit(struct crypto_tfm *tfm) in hisi_trng_exit()
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c20 struct crypto_skcipher *tfm; member
281 static int virtio_crypto_skcipher_setkey(struct crypto_skcipher *tfm, in virtio_crypto_skcipher_setkey()
327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __virtio_crypto_skcipher_do_req() local
516 static int virtio_crypto_skcipher_init(struct crypto_skcipher *tfm) in virtio_crypto_skcipher_init()
526 static void virtio_crypto_skcipher_exit(struct crypto_skcipher *tfm) in virtio_crypto_skcipher_exit()
/openbmc/linux/crypto/
H A Dghash-generic.c55 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
143 static void ghash_exit_tfm(struct crypto_tfm *tfm) in ghash_exit_tfm()
H A Dblowfish_generic.c37 static void bf_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_encrypt()
69 static void bf_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_decrypt()
H A Dalgif_hash.c233 struct crypto_ahash *tfm; in hash_accept() local
303 struct crypto_ahash *tfm; in hash_check_key() local
414 struct crypto_ahash *tfm = private; in hash_accept_parent_nokey() local
441 struct crypto_ahash *tfm = private; in hash_accept_parent() local
H A Dlrw.c143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in lrw_xor_tweak() local
265 static int lrw_init_tfm(struct crypto_skcipher *tfm) in lrw_init_tfm()
284 static void lrw_exit_tfm(struct crypto_skcipher *tfm) in lrw_exit_tfm()
H A Dkeywrap.c126 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_kw_decrypt() local
195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_kw_encrypt() local
H A Dcrc32c_generic.c72 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
122 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
H A Dkpp.c40 static void crypto_kpp_exit_tfm(struct crypto_tfm *tfm) in crypto_kpp_exit_tfm()
48 static int crypto_kpp_init_tfm(struct crypto_tfm *tfm) in crypto_kpp_init_tfm()
/openbmc/linux/arch/s390/crypto/
H A Dcrc32-vx.c92 static int crc32_vx_cra_init_invert(struct crypto_tfm *tfm) in crc32_vx_cra_init_invert()
109 static int crc32_vx_setkey(struct crypto_shash *tfm, const u8 *newkey, in crc32_vx_setkey()
120 static int crc32be_vx_setkey(struct crypto_shash *tfm, const u8 *newkey, in crc32be_vx_setkey()
/openbmc/linux/arch/arm64/crypto/
H A Dghash-ce-glue.c189 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
232 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, in gcm_aes_setkey()
264 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_aes_setauthsize()
480 static int rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, in rfc4106_setkey()
495 static int rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in rfc4106_setauthsize()
H A Dchacha-neon-glue.c140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_neon() local
148 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_neon() local
/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c244 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setkey() local
276 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setauthsize() local
312 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_init() local
340 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_exit() local
/openbmc/linux/drivers/crypto/nx/
H A Dnx-aes-gcm.c23 static int gcm_aes_nx_set_key(struct crypto_aead *tfm, in gcm_aes_nx_set_key()
62 static int gcm4106_aes_nx_set_key(struct crypto_aead *tfm, in gcm4106_aes_nx_set_key()
84 static int gcm4106_aes_nx_setauthsize(struct crypto_aead *tfm, in gcm4106_aes_nx_setauthsize()
/openbmc/linux/drivers/crypto/
H A Domap-sham.c303 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_copy_hash_omap4() local
450 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_write_ctrl_omap4() local
940 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in omap_sham_init() local
1354 static int omap_sham_cra_init(struct crypto_tfm *tfm) in omap_sham_cra_init()
1359 static int omap_sham_cra_sha1_init(struct crypto_tfm *tfm) in omap_sham_cra_sha1_init()
1364 static int omap_sham_cra_sha224_init(struct crypto_tfm *tfm) in omap_sham_cra_sha224_init()
1369 static int omap_sham_cra_sha256_init(struct crypto_tfm *tfm) in omap_sham_cra_sha256_init()
1374 static int omap_sham_cra_md5_init(struct crypto_tfm *tfm) in omap_sham_cra_md5_init()
1379 static int omap_sham_cra_sha384_init(struct crypto_tfm *tfm) in omap_sham_cra_sha384_init()
1384 static int omap_sham_cra_sha512_init(struct crypto_tfm *tfm) in omap_sham_cra_sha512_init()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dchacha_glue.c200 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_simd() local
208 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_simd() local
H A Dpolyval-clmulni_glue.c52 static inline struct polyval_tfm_ctx *polyval_tfm_ctx(struct crypto_shash *tfm) in polyval_tfm_ctx()
81 static int polyval_x86_setkey(struct crypto_shash *tfm, in polyval_x86_setkey()
/openbmc/linux/net/bluetooth/
H A Dselftest.c141 static int __init test_ecdh_sample(struct crypto_kpp *tfm, const u8 priv_a[32], in test_ecdh_sample()
201 struct crypto_kpp *tfm; in test_ecdh() local
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c169 static int set_authsize(struct crypto_aead *tfm, unsigned int authsize) in set_authsize()
190 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in p10_aes_gcm_setkey() local
203 struct crypto_tfm *tfm = req->base.tfm; in p10_aes_gcm_crypt() local
H A Dchacha-p10-glue.c126 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_p10() local
134 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_p10() local
/openbmc/linux/net/ipv6/
H A Dseg6_hmac.c122 struct crypto_shash *tfm; in __do_hmac() local
354 struct crypto_shash *tfm; in seg6_hmac_init_algo() local
420 struct crypto_shash *tfm; in seg6_hmac_exit() local
/openbmc/linux/security/keys/
H A Ddh.c69 struct crypto_shash *tfm; in kdf_alloc() local
134 struct crypto_kpp *tfm; in __keyctl_dh_compute() local
/openbmc/linux/include/crypto/internal/
H A Dsig.h13 static inline void *crypto_sig_ctx(struct crypto_sig *tfm) in crypto_sig_ctx()
/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-acry.c485 static int aspeed_acry_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in aspeed_acry_rsa_setkey()
532 static int aspeed_acry_rsa_set_pub_key(struct crypto_akcipher *tfm, in aspeed_acry_rsa_set_pub_key()
546 static int aspeed_acry_rsa_set_priv_key(struct crypto_akcipher *tfm, in aspeed_acry_rsa_set_priv_key()
560 static unsigned int aspeed_acry_rsa_max_size(struct crypto_akcipher *tfm) in aspeed_acry_rsa_max_size()
570 static int aspeed_acry_rsa_init_tfm(struct crypto_akcipher *tfm) in aspeed_acry_rsa_init_tfm()
592 static void aspeed_acry_rsa_exit_tfm(struct crypto_akcipher *tfm) in aspeed_acry_rsa_exit_tfm()

12345678910>>...16