Home
last modified time | relevance | path

Searched defs:tfm (Results 151 – 175 of 390) sorted by relevance

12345678910>>...16

/openbmc/linux/crypto/
H A Dcompress.c16 struct crypto_tfm *tfm = crypto_comp_tfm(comp); in crypto_comp_compress() local
27 struct crypto_tfm *tfm = crypto_comp_tfm(comp); in crypto_comp_decompress() local
H A Dxcbc.c92 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update() local
138 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final() local
167 static int xcbc_init_tfm(struct crypto_tfm *tfm) in xcbc_init_tfm()
183 static void xcbc_exit_tfm(struct crypto_tfm *tfm) in xcbc_exit_tfm()
H A Dhctr2.c129 static int hctr2_setkey(struct crypto_skcipher *tfm, const u8 *key, in hctr2_setkey()
172 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in hctr2_hash_tweak() local
231 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in hctr2_finish() local
267 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in hctr2_crypt() local
334 static int hctr2_init_tfm(struct crypto_skcipher *tfm) in hctr2_init_tfm()
385 static void hctr2_exit_tfm(struct crypto_skcipher *tfm) in hctr2_exit_tfm()
H A Dkhazad.c756 static int khazad_setkey(struct crypto_tfm *tfm, const u8 *in_key, in khazad_setkey()
837 static void khazad_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_encrypt()
843 static void khazad_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_decrypt()
H A Decrdsa.c73 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in ecrdsa_verify() local
191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in ecrdsa_set_pub_key()
252 static unsigned int ecrdsa_max_size(struct crypto_akcipher *tfm) in ecrdsa_max_size()
263 static void ecrdsa_exit_tfm(struct crypto_akcipher *tfm) in ecrdsa_exit_tfm()
H A Dccm.c108 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, in crypto_ccm_setauthsize()
392 static int crypto_ccm_init_tfm(struct crypto_aead *tfm) in crypto_ccm_init_tfm()
428 static void crypto_ccm_exit_tfm(struct crypto_aead *tfm) in crypto_ccm_exit_tfm()
667 static int crypto_rfc4309_init_tfm(struct crypto_aead *tfm) in crypto_rfc4309_init_tfm()
692 static void crypto_rfc4309_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4309_exit_tfm()
803 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update() local
829 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final() local
840 static int cbcmac_init_tfm(struct crypto_tfm *tfm) in cbcmac_init_tfm()
856 static void cbcmac_exit_tfm(struct crypto_tfm *tfm) in cbcmac_exit_tfm()
H A Dchacha_generic.c42 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_chacha_crypt() local
50 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_xchacha_crypt() local
/openbmc/linux/include/crypto/
H A Dcryptd.h39 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
58 struct crypto_aead *tfm) in __cryptd_aead_cast()
/openbmc/linux/drivers/crypto/qce/
H A Dskcipher.c173 struct crypto_tfm *tfm = crypto_skcipher_tfm(ablk); in qce_skcipher_setkey() local
258 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in qce_skcipher_crypt() local
320 static int qce_skcipher_init(struct crypto_skcipher *tfm) in qce_skcipher_init()
328 static int qce_skcipher_init_fallback(struct crypto_skcipher *tfm) in qce_skcipher_init_fallback()
342 static void qce_skcipher_exit(struct crypto_skcipher *tfm) in qce_skcipher_exit()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c219 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in qat_dh_compute_value() local
446 static int qat_dh_set_secret(struct crypto_kpp *tfm, const void *buf, in qat_dh_set_secret()
480 static unsigned int qat_dh_max_size(struct crypto_kpp *tfm) in qat_dh_max_size()
487 static int qat_dh_init_tfm(struct crypto_kpp *tfm) in qat_dh_init_tfm()
504 static void qat_dh_exit_tfm(struct crypto_kpp *tfm) in qat_dh_exit_tfm()
647 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_enc() local
781 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_dec() local
1158 static int qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setkey()
1217 static unsigned int qat_rsa_max_size(struct crypto_akcipher *tfm) in qat_rsa_max_size()
1224 static int qat_rsa_init_tfm(struct crypto_akcipher *tfm) in qat_rsa_init_tfm()
[all …]
/openbmc/linux/drivers/crypto/
H A Datmel-aes.c1261 static int atmel_aes_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_init_tfm()
1277 static int atmel_aes_ctr_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_ctr_init_tfm()
1508 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_start() local
1545 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_process() local
1696 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_gcm_finalize() local
1752 static int atmel_aes_gcm_setauthsize(struct crypto_aead *tfm, in atmel_aes_gcm_setauthsize()
1768 static int atmel_aes_gcm_init(struct crypto_aead *tfm) in atmel_aes_gcm_init()
1904 static int atmel_aes_xts_init_tfm(struct crypto_skcipher *tfm) in atmel_aes_xts_init_tfm()
1977 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_authenc_start() local
2072 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in atmel_aes_authenc_final() local
[all …]
H A Dn2_core.c315 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init() local
327 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update() local
341 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final() local
354 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_finup() local
376 static int n2_hash_cra_init(struct crypto_tfm *tfm) in n2_hash_cra_init()
403 static void n2_hash_cra_exit(struct crypto_tfm *tfm) in n2_hash_cra_exit()
411 static int n2_hmac_cra_init(struct crypto_tfm *tfm) in n2_hmac_cra_init()
452 static void n2_hmac_cra_exit(struct crypto_tfm *tfm) in n2_hmac_cra_exit()
525 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_do_async_digest() local
631 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hmac_async_digest() local
[all …]
H A Dqcom-rng.c76 static int qcom_rng_generate(struct crypto_rng *tfm, in qcom_rng_generate()
98 static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed, in qcom_rng_seed()
133 static int qcom_rng_init(struct crypto_tfm *tfm) in qcom_rng_init()
/openbmc/linux/arch/arm/crypto/
H A Daes-cipher-glue.c16 static void aes_arm_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm_encrypt()
24 static void aes_arm_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm_decrypt()
/openbmc/linux/arch/arm64/crypto/
H A Daes-cipher-glue.c15 static void aes_arm64_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm64_encrypt()
23 static void aes_arm64_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm64_decrypt()
/openbmc/linux/arch/x86/crypto/
H A Daegis128-aesni-glue.c155 static int crypto_aegis128_aesni_setauthsize(struct crypto_aead *tfm, in crypto_aegis128_aesni_setauthsize()
170 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_crypt() local
195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_encrypt() local
217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_decrypt() local
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c305 krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant, in krb5_cmac_Ki()
377 struct crypto_shash *tfm; in krb5_kdf_feedback_cmac() local
444 krb5_hmac_K1(struct crypto_shash *tfm, const struct xdr_netobj *label, in krb5_hmac_K1()
506 struct crypto_shash *tfm; in krb5_kdf_hmac_sha2() local
/openbmc/linux/include/crypto/internal/
H A Dakcipher.h59 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx()
64 static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm) in akcipher_tfm_ctx_dma()
75 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) in akcipher_alg_name()
H A Dkpp.h76 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx()
81 static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm) in kpp_tfm_ctx_dma()
91 static inline const char *kpp_alg_name(struct crypto_kpp *tfm) in kpp_alg_name()
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-hash.c18 int sun4i_hash_crainit(struct crypto_tfm *tfm) in sun4i_hash_crainit()
39 void sun4i_hash_craexit(struct crypto_tfm *tfm) in sun4i_hash_craexit()
50 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash_init() local
193 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash() local
H A Dsun4i-ss-prng.c4 int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun4i_ss_prng_seed()
16 int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun4i_ss_prng_generate()
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-aes.c551 static int starfive_aes_init_tfm(struct crypto_skcipher *tfm) in starfive_aes_init_tfm()
621 static int starfive_aes_aead_init_tfm(struct crypto_aead *tfm) in starfive_aes_aead_init_tfm()
647 static void starfive_aes_aead_exit_tfm(struct crypto_aead *tfm) in starfive_aes_aead_exit_tfm()
656 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in starfive_aes_crypt() local
698 static int starfive_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in starfive_aes_setkey()
717 static int starfive_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, in starfive_aes_aead_setkey()
739 static int starfive_aes_gcm_setauthsize(struct crypto_aead *tfm, in starfive_aes_gcm_setauthsize()
745 static int starfive_aes_ccm_setauthsize(struct crypto_aead *tfm, in starfive_aes_ccm_setauthsize()
/openbmc/linux/drivers/crypto/nx/
H A Dnx-aes-cbc.c21 static int cbc_aes_nx_set_key(struct crypto_skcipher *tfm, in cbc_aes_nx_set_key()
56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_nx_crypt() local
H A Dnx-aes-ecb.c21 static int ecb_aes_nx_set_key(struct crypto_skcipher *tfm, in ecb_aes_nx_set_key()
56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_nx_crypt() local
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-des3.c37 static int ccp_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, in ccp_des3_setkey()
63 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_des3_crypt() local
116 static int ccp_des3_init_tfm(struct crypto_skcipher *tfm) in ccp_des3_init_tfm()

12345678910>>...16