Home
last modified time | relevance | path

Searched defs:tfm (Results 426 - 450 of 743) sorted by relevance

1...<<11121314151617181920>>...30

/kernel/linux/linux-6.6/drivers/crypto/
H A Domap-aes-gcm.c312 int omap_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, in omap_aes_gcm_setkey() argument
328 int omap_aes_4106gcm_setkey(struct crypto_aead *tfm, const u8 *key, in omap_aes_4106gcm_setkey() argument
349 int omap_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in omap_aes_gcm_setauthsize() argument
383 int omap_aes_gcm_cra_init(struct crypto_aead *tfm) in omap_aes_gcm_cra_init() argument
H A Dqcom-rng.c76 static int qcom_rng_generate(struct crypto_rng *tfm, in qcom_rng_generate() argument
98 static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed, in qcom_rng_seed() argument
133 static int qcom_rng_init(struct crypto_tfm *tfm) in qcom_rng_init() argument
/kernel/linux/linux-6.6/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() argument
328 static int qce_skcipher_init_fallback(struct crypto_skcipher *tfm) in qce_skcipher_init_fallback() argument
342 qce_skcipher_exit(struct crypto_skcipher *tfm) qce_skcipher_exit() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c25 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in rk_cipher_need_fallback() local
70 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in rk_cipher_fallback() local
111 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey() local
255 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_cipher_hw_init() local
302 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); rk_cipher_run() local
434 rk_cipher_tfm_init(struct crypto_skcipher *tfm) rk_cipher_tfm_init() argument
454 rk_cipher_tfm_exit(struct crypto_skcipher *tfm) rk_cipher_tfm_exit() argument
[all...]
H A Drk3288_crypto_ahash.c47 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb() local
67 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local
123 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local
136 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local
151 struct crypto_ahash *tfm in rk_ahash_final() local
165 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); rk_ahash_finup() local
182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); rk_ahash_import() local
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); rk_ahash_export() local
261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); rk_hash_run() local
344 rk_hash_init_tfm(struct crypto_ahash *tfm) rk_hash_init_tfm() argument
366 rk_hash_exit_tfm(struct crypto_ahash *tfm) rk_hash_exit_tfm() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c54 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() argument
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local
213 struct crypto_ahash *tfm in ghash_async_final() local
253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_digest() local
272 ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) ghash_async_setkey() argument
284 ghash_async_init_tfm(struct crypto_tfm *tfm) ghash_async_init_tfm() argument
302 ghash_async_exit_tfm(struct crypto_tfm *tfm) ghash_async_exit_tfm() argument
[all...]
H A Ddes3_ede_glue.c56 static void des3_ede_x86_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_x86_encrypt() argument
61 static void des3_ede_x86_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_x86_decrypt() argument
112 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local
120 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local
151 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
230 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); cbc_decrypt() local
246 des3_ede_x86_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) des3_ede_x86_setkey() argument
280 des3_ede_x86_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) des3_ede_x86_setkey_skcipher() argument
[all...]
/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/
H A Dfirmware.c414 struct crypto_shash *tfm; in s3fwrn5_fw_download() local
/kernel/linux/linux-6.6/crypto/
H A Dauthenc.c305 static int crypto_authenc_init_tfm(struct crypto_aead *tfm) in crypto_authenc_init_tfm() argument
352 static void crypto_authenc_exit_tfm(struct crypto_aead *tfm) in crypto_authenc_exit_tfm() argument
H A Dserpent_generic.c452 int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in serpent_setkey() argument
510 static void serpent_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in serpent_encrypt() argument
569 static void serpent_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in serpent_decrypt() argument
H A Dscompress.c101 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) in crypto_scomp_init_tfm() argument
115 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); in scomp_acomp_comp_decomp() local
173 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) in crypto_exit_scomp_ops_async() argument
185 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) in crypto_init_scomp_ops_async() argument
215 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); crypto_acomp_scomp_alloc_ctx() local
234 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); crypto_acomp_scomp_free_ctx() local
[all...]
H A Dcmac.c125 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update() local
171 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final() local
201 cmac_init_tfm(struct crypto_shash *tfm) cmac_init_tfm() argument
218 cmac_clone_tfm(struct crypto_shash *tfm, struct crypto_shash *otfm) cmac_clone_tfm() argument
233 cmac_exit_tfm(struct crypto_shash *tfm) cmac_exit_tfm() argument
[all...]
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() argument
284 static void lrw_exit_tfm(struct crypto_skcipher *tfm) in lrw_exit_tfm() argument
H A Daead.c32 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned() argument
53 int crypto_aead_setkey(struct crypto_aead *tfm, in crypto_aead_setkey() argument
74 crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) crypto_aead_setauthsize() argument
152 crypto_aead_exit_tfm(struct crypto_tfm *tfm) crypto_aead_exit_tfm() argument
160 crypto_aead_init_tfm(struct crypto_tfm *tfm) crypto_aead_init_tfm() argument
[all...]
H A Dauthencesn.c319 static int crypto_authenc_esn_init_tfm(struct crypto_aead *tfm) in crypto_authenc_esn_init_tfm() argument
369 static void crypto_authenc_esn_exit_tfm(struct crypto_aead *tfm) in crypto_authenc_esn_exit_tfm() argument
H A Dakcipher.c44 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) in crypto_akcipher_exit_tfm() argument
52 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) in crypto_akcipher_init_tfm() argument
150 static int akcipher_default_set_key(struct crypto_akcipher *tfm, in akcipher_default_set_key() argument
245 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm, in crypto_akcipher_sync_encrypt() argument
263 crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm, const void *src, unsigned int slen, void *dst, unsigned int dlen) crypto_akcipher_sync_decrypt() argument
282 crypto_exit_akcipher_ops_sig(struct crypto_tfm *tfm) crypto_exit_akcipher_ops_sig() argument
289 crypto_init_akcipher_ops_sig(struct crypto_tfm *tfm) crypto_init_akcipher_ops_sig() argument
[all...]
H A Dsm2.c380 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in sm2_verify() local
420 static int sm2_set_pub_key(struct crypto_akcipher *tfm, in sm2_set_pub_key() argument
447 static unsigned int sm2_max_size(struct crypto_akcipher *tfm) in sm2_max_size() argument
453 static int sm2_init_tfm(struct crypto_akcipher *tfm) in sm2_init_tfm() argument
460 static void sm2_exit_tfm(struct crypto_akcipher *tfm) in sm2_exit_tfm() argument
H A Dsimd.c50 static int simd_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in simd_skcipher_setkey() argument
64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_encrypt() local
85 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_decrypt() local
104 static void simd_skcipher_exit(struct crypto_skcipher *tfm) in simd_skcipher_exit() argument
111 static int simd_skcipher_init(struct crypto_skcipher *tfm) in simd_skcipher_init() argument
144 struct crypto_skcipher *tfm; simd_skcipher_create_compat() local
290 simd_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int key_len) simd_aead_setkey() argument
302 simd_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) simd_aead_setauthsize() argument
312 struct crypto_aead *tfm = crypto_aead_reqtfm(req); simd_aead_encrypt() local
333 struct crypto_aead *tfm = crypto_aead_reqtfm(req); simd_aead_decrypt() local
352 simd_aead_exit(struct crypto_aead *tfm) simd_aead_exit() argument
359 simd_aead_init(struct crypto_aead *tfm) simd_aead_init() argument
391 struct crypto_aead *tfm; simd_aead_create_compat() local
[all...]
H A Dcts.c68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cts_reqctx_space() local
101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local
145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cts_encrypt() local
182 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local
239 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_cts_decrypt() local
283 crypto_cts_init_tfm(struct crypto_skcipher *tfm) crypto_cts_init_tfm() argument
311 crypto_cts_exit_tfm(struct crypto_skcipher *tfm) crypto_cts_exit_tfm() argument
[all...]
H A Dctr.c28 crypto_ctr_crypt_final(struct skcipher_walk *walk, struct crypto_cipher *tfm) crypto_ctr_crypt_final() argument
46 crypto_ctr_crypt_segment(struct skcipher_walk *walk, struct crypto_cipher *tfm) crypto_ctr_crypt_segment() argument
72 crypto_ctr_crypt_inplace(struct skcipher_walk *walk, struct crypto_cipher *tfm) crypto_ctr_crypt_inplace() argument
101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_ctr_crypt() local
192 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_rfc3686_crypt() local
218 crypto_rfc3686_init_tfm(struct crypto_skcipher *tfm) crypto_rfc3686_init_tfm() argument
242 crypto_rfc3686_exit_tfm(struct crypto_skcipher *tfm) crypto_rfc3686_exit_tfm() argument
[all...]
H A Dalgif_aead.c51 struct crypto_aead *tfm = aeadc->aead; in aead_sufficient_data() local
68 struct crypto_aead *tfm = aeadc->aead; in aead_sendmsg() local
97 struct crypto_aead *tfm = aeadc->aead; in _aead_recvmsg() local
382 struct aead_tfm *tfm; in aead_check_key() local
457 struct aead_tfm *tfm; aead_bind() local
486 struct aead_tfm *tfm = private; aead_release() local
495 struct aead_tfm *tfm = private; aead_setauthsize() local
502 struct aead_tfm *tfm = private; aead_setkey() local
514 struct crypto_aead *tfm = aeadc->aead; aead_sock_destruct() local
527 struct aead_tfm *tfm = private; aead_accept_parent_nokey() local
557 struct aead_tfm *tfm = private; aead_accept_parent() local
[all...]
H A Dapi.c348 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops() argument
392 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfmgfp() local
452 struct crypto_tfm *tfm; crypto_alloc_base() local
488 struct crypto_tfm *tfm; crypto_alloc_tfmmem() local
512 struct crypto_tfm *tfm; crypto_create_tfm_node() local
547 struct crypto_tfm *tfm; crypto_clone_tfm() local
611 void *tfm; crypto_alloc_tfm_node() local
651 crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) crypto_destroy_tfm() argument
[all...]
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 in hash_accept_parent() local
[all...]
H A Dansi_cprng.c47 struct crypto_cipher *tfm; member
320 static int cprng_init(struct crypto_tfm *tfm) in cprng_init() argument
344 cprng_exit(struct crypto_tfm *tfm) cprng_exit() argument
349 cprng_get_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *rdata, unsigned int dlen) cprng_get_random() argument
364 cprng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) cprng_reset() argument
385 fips_cprng_get_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *rdata, unsigned int dlen) fips_cprng_get_random() argument
394 fips_cprng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) fips_cprng_reset() argument
[all...]
H A Djitterentropy-kcapi.c186 struct crypto_shash *tfm; member
190 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) in jent_kcapi_cleanup() argument
212 jent_kcapi_init(struct crypto_tfm *tfm) jent_kcapi_init() argument
262 jent_kcapi_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *rdata, unsigned int dlen) jent_kcapi_random() argument
300 jent_kcapi_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) jent_kcapi_reset() argument
324 struct crypto_shash *tfm; jent_mod_init() local
[all...]

Completed in 15 milliseconds

1...<<11121314151617181920>>...30