Home
last modified time | relevance | path

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

12345678910>>...15

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_v2_skcipher.c231 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_cipher_crypt() local
408 static int rk_ablk_init_tfm(struct crypto_skcipher *tfm) in rk_ablk_init_tfm()
455 static void rk_ablk_exit_tfm(struct crypto_skcipher *tfm) in rk_ablk_exit_tfm()
470 static int rk_aead_init_tfm(struct crypto_aead *tfm) in rk_aead_init_tfm()
524 static void rk_aead_exit_tfm(struct crypto_aead *tfm) in rk_aead_exit_tfm()
540 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in rk_aead_crypt() local
H A Drk_crypto_v3_skcipher.c230 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_cipher_crypt() local
407 static int rk_ablk_init_tfm(struct crypto_skcipher *tfm) in rk_ablk_init_tfm()
454 static void rk_ablk_exit_tfm(struct crypto_skcipher *tfm) in rk_ablk_exit_tfm()
469 static int rk_aead_init_tfm(struct crypto_aead *tfm) in rk_aead_init_tfm()
523 static void rk_aead_exit_tfm(struct crypto_aead *tfm) in rk_aead_exit_tfm()
539 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in rk_aead_crypt() local
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c516 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in hpre_dh_compute_value() local
639 static int hpre_dh_set_secret(struct crypto_kpp *tfm, const void *buf, in hpre_dh_set_secret()
666 static unsigned int hpre_dh_max_size(struct crypto_kpp *tfm) in hpre_dh_max_size()
673 static int hpre_dh_init_tfm(struct crypto_kpp *tfm) in hpre_dh_init_tfm()
680 static void hpre_dh_exit_tfm(struct crypto_kpp *tfm) in hpre_dh_exit_tfm()
718 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in hpre_rsa_enc() local
766 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in hpre_rsa_dec() local
1054 static int hpre_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in hpre_rsa_setpubkey()
1067 static int hpre_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in hpre_rsa_setprivkey()
1080 static unsigned int hpre_rsa_max_size(struct crypto_akcipher *tfm) in hpre_rsa_max_size()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/
H A Dcryptoloop.c36 struct crypto_sync_skcipher *tfm; in cryptoloop_init() local
100 struct crypto_sync_skcipher *tfm = lo->key_data; in cryptoloop_transfer() local
166 struct crypto_sync_skcipher *tfm = lo->key_data; in cryptoloop_release() local
/OK3568_Linux_fs/kernel/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
H A Dtwofish_glue.c54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_encrypt()
59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_decrypt()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/crypto/
H A Dtestmgr.c802 #define do_setkey(setkey_f, tfm, key, ksize, cfg, alignmask) \ argument
1185 struct crypto_shash *tfm = desc->tfm; in test_shash_vec_cfg() local
1369 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in test_ahash_vec_cfg() local
1647 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in test_hash_vs_generic_impl() local
1771 struct crypto_shash *tfm; in alloc_shash() local
1936 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in test_aead_vec_cfg() local
2157 struct crypto_aead *tfm; member
2208 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generate_aead_message() local
2276 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generate_random_aead_testvec() local
2381 struct crypto_aead *tfm = ctx->tfm; in test_aead_vs_generic_impl() local
[all …]
H A Dakcipher.c50 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) in crypto_akcipher_exit_tfm()
58 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) in crypto_akcipher_init_tfm()
123 static int akcipher_default_set_key(struct crypto_akcipher *tfm, in akcipher_default_set_key()
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 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 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 Dccm.c108 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, in crypto_ccm_setauthsize()
393 static int crypto_ccm_init_tfm(struct crypto_aead *tfm) in crypto_ccm_init_tfm()
429 static void crypto_ccm_exit_tfm(struct crypto_aead *tfm) in crypto_ccm_exit_tfm()
668 static int crypto_rfc4309_init_tfm(struct crypto_aead *tfm) in crypto_rfc4309_init_tfm()
693 static void crypto_rfc4309_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4309_exit_tfm()
804 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update() local
830 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final() local
841 static int cbcmac_init_tfm(struct crypto_tfm *tfm) in cbcmac_init_tfm()
857 static void cbcmac_exit_tfm(struct crypto_tfm *tfm) in cbcmac_exit_tfm()
H A Dsm4_generic.c157 int crypto_sm4_set_key(struct crypto_tfm *tfm, const u8 *in_key, in crypto_sm4_set_key()
187 void crypto_sm4_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_sm4_encrypt()
197 void crypto_sm4_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_sm4_decrypt()
H A Ddrbg.c1632 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, in drbg_kcapi_set_entropy()
1655 struct crypto_shash *tfm; in drbg_init_hash_kernel() local
1712 struct crypto_cipher *tfm = in drbg_fini_sym_kernel() local
1734 struct crypto_cipher *tfm; in drbg_init_sym_kernel() local
1794 struct crypto_cipher *tfm = in drbg_kcapi_symsetkey() local
1803 struct crypto_cipher *tfm = in drbg_kcapi_sym() local
1900 static int drbg_kcapi_init(struct crypto_tfm *tfm) in drbg_kcapi_init()
1909 static void drbg_kcapi_cleanup(struct crypto_tfm *tfm) in drbg_kcapi_cleanup()
1923 static int drbg_kcapi_random(struct crypto_rng *tfm, in drbg_kcapi_random()
1943 static int drbg_kcapi_seed(struct crypto_rng *tfm, in drbg_kcapi_seed()
/OK3568_Linux_fs/kernel/include/crypto/
H A Dcryptd.h38 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
57 struct crypto_aead *tfm) in __cryptd_aead_cast()
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A Dsm4-ce-glue.c20 static void sm4_ce_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_ce_encrypt()
33 static void sm4_ce_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_ce_decrypt()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c98 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local
195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cvm_enc_dec() local
235 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_xts_setkey() local
292 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_setkey() local
336 static int cvm_enc_dec_init(struct crypto_skcipher *tfm) in cvm_enc_dec_init()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dqcom-rng.c75 static int qcom_rng_generate(struct crypto_rng *tfm, in qcom_rng_generate()
97 static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed, in qcom_rng_seed()
132 static int qcom_rng_init(struct crypto_tfm *tfm) in qcom_rng_init()
H A Domap-aes-gcm.c311 int omap_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, in omap_aes_gcm_setkey()
327 int omap_aes_4106gcm_setkey(struct crypto_aead *tfm, const u8 *key, in omap_aes_4106gcm_setkey()
348 int omap_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in omap_aes_gcm_setauthsize()
378 int omap_aes_gcm_cra_init(struct crypto_aead *tfm) in omap_aes_gcm_cra_init()
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-crypto-des3.c36 static int ccp_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, in ccp_des3_setkey()
62 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_des3_crypt() local
118 static int ccp_des3_init_tfm(struct crypto_skcipher *tfm) in ccp_des3_init_tfm()
/OK3568_Linux_fs/kernel/drivers/crypto/nx/
H A Dnx-aes-ccm.c23 static int ccm_aes_nx_set_key(struct crypto_aead *tfm, in ccm_aes_nx_set_key()
53 static int ccm4309_aes_nx_set_key(struct crypto_aead *tfm, in ccm4309_aes_nx_set_key()
69 static int ccm_aes_nx_setauthsize(struct crypto_aead *tfm, in ccm_aes_nx_setauthsize()
88 static int ccm4309_aes_nx_setauthsize(struct crypto_aead *tfm, in ccm4309_aes_nx_setauthsize()
H A Dnx-842.c104 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver) in nx842_crypto_init()
124 void nx842_crypto_exit(struct crypto_tfm *tfm) in nx842_crypto_exit()
249 int nx842_crypto_compress(struct crypto_tfm *tfm, in nx842_crypto_compress()
432 int nx842_crypto_decompress(struct crypto_tfm *tfm, in nx842_crypto_decompress()

12345678910>>...15