Home
last modified time | relevance | path

Searched defs:tfm (Results 476 - 500 of 743) sorted by relevance

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

/kernel/linux/linux-5.10/crypto/
H A Drsa-pkcs1pad.c107 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key, in pkcs1pad_set_pub_key() argument
128 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key, in pkcs1pad_set_priv_key() argument
149 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm) in pkcs1pad_get_max_size() argument
176 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt_sign_complete() local
229 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt() local
277 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); pkcs1pad_decrypt_complete() local
345 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); pkcs1pad_decrypt() local
378 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); pkcs1pad_sign() local
435 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); pkcs1pad_verify_complete() local
532 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); pkcs1pad_verify() local
565 pkcs1pad_init_tfm(struct crypto_akcipher *tfm) pkcs1pad_init_tfm() argument
580 pkcs1pad_exit_tfm(struct crypto_akcipher *tfm) pkcs1pad_exit_tfm() argument
[all...]
H A Dchacha20poly1305.c171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail() local
362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey() local
491 static int chachapoly_setauthsize(struct crypto_aead *tfm, in chachapoly_setauthsize() argument
500 static int chachapoly_init(struct crypto_aead *tfm) in chachapoly_init() argument
538 chachapoly_exit(struct crypto_aead *tfm) chachapoly_exit() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c29 struct crypto_akcipher *tfm; member
361 static int virtio_crypto_rsa_set_key(struct crypto_akcipher *tfm, in virtio_crypto_rsa_set_key() argument
425 static int virtio_crypto_rsa_raw_set_priv_key(struct crypto_akcipher *tfm, in virtio_crypto_rsa_raw_set_priv_key() argument
435 static int virtio_crypto_p1pad_rsa_sha1_set_priv_key(struct crypto_akcipher *tfm, in virtio_crypto_p1pad_rsa_sha1_set_priv_key() argument
444 static int virtio_crypto_rsa_raw_set_pub_key(struct crypto_akcipher *tfm, in virtio_crypto_rsa_raw_set_pub_key() argument
453 static int virtio_crypto_p1pad_rsa_sha1_set_pub_key(struct crypto_akcipher *tfm, in virtio_crypto_p1pad_rsa_sha1_set_pub_key() argument
462 virtio_crypto_rsa_max_size(struct crypto_akcipher *tfm) virtio_crypto_rsa_max_size() argument
470 virtio_crypto_rsa_init_tfm(struct crypto_akcipher *tfm) virtio_crypto_rsa_init_tfm() argument
482 virtio_crypto_rsa_exit_tfm(struct crypto_akcipher *tfm) virtio_crypto_rsa_exit_tfm() argument
[all...]
H A Dvirtio_crypto_algs.c23 struct crypto_skcipher *tfm; member
284 static int virtio_crypto_skcipher_setkey(struct crypto_skcipher *tfm, in virtio_crypto_skcipher_setkey() argument
330 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __virtio_crypto_skcipher_do_req() local
519 static int virtio_crypto_skcipher_init(struct crypto_skcipher *tfm) in virtio_crypto_skcipher_init() argument
532 virtio_crypto_skcipher_exit(struct crypto_skcipher *tfm) virtio_crypto_skcipher_exit() argument
[all...]
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsm4-ce-glue.c76 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey() argument
91 static int sm4_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_xts_setkey() argument
145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local
153 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local
197 struct crypto_skcipher *tfm in sm4_cbc_encrypt() local
205 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); sm4_cbc_decrypt() local
213 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); sm4_cbc_cts_crypt() local
285 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); sm4_cfb_encrypt() local
327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); sm4_cfb_decrypt() local
369 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); sm4_ctr_crypt() local
412 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); sm4_xts_crypt() local
612 sm4_cbcmac_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int key_len) sm4_cbcmac_setkey() argument
628 sm4_cmac_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int key_len) sm4_cmac_setkey() argument
664 sm4_xcbc_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int key_len) sm4_xcbc_setkey() argument
[all...]
H A Dghash-ce-glue.c189 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() argument
232 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, in gcm_aes_setkey() argument
264 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_aes_setauthsize() argument
480 static int rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, in rfc4106_setkey() argument
495 rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) rfc4106_setauthsize() argument
[all...]
/kernel/linux/linux-6.6/arch/arm/crypto/
H A Dghash-ce-glue.c173 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() argument
218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local
232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local
250 struct crypto_ahash *tfm in ghash_async_final() local
267 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_digest() local
289 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_import() local
306 ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) ghash_async_setkey() argument
318 ghash_async_init_tfm(struct crypto_tfm *tfm) ghash_async_init_tfm() argument
334 ghash_async_exit_tfm(struct crypto_tfm *tfm) ghash_async_exit_tfm() argument
382 gcm_aes_setkey(struct crypto_aead *tfm, const u8 *inkey, unsigned int keylen) gcm_aes_setkey() argument
416 gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) gcm_aes_setauthsize() argument
673 rfc4106_setkey(struct crypto_aead *tfm, const u8 *inkey, unsigned int keylen) rfc4106_setkey() argument
688 rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) rfc4106_setauthsize() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
H A Dgrufault.c146 struct gru_tlb_fault_map *tfm; in get_clear_fault_map() local
/kernel/linux/linux-5.10/drivers/target/iscsi/
H A Discsi_target_login.c80 struct crypto_ahash *tfm; in iscsi_login_setup_crypto() local
1192 struct crypto_ahash *tfm; in iscsi_target_login_sess_out() local
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Ddomain.c677 struct crypto_shash *tfm; in tb_domain_challenge_switch_key() local
[all...]
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c55 krb5_encrypt( struct crypto_sync_skcipher *tfm, void * iv, void * in, void * out, int length) krb5_encrypt() argument
94 krb5_decrypt( struct crypto_sync_skcipher *tfm, void * iv, void * in, void * out, int length) krb5_decrypt() argument
151 struct crypto_ahash *tfm; make_checksum() local
243 struct crypto_ahash *tfm; make_checksum_v2() local
335 struct crypto_sync_skcipher *tfm = encryptor() local
396 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, int offset, struct page **pages) gss_encrypt_xdr_buf() argument
437 struct crypto_sync_skcipher *tfm = decryptor() local
479 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, int offset) gss_decrypt_xdr_buf() argument
[all...]
/kernel/linux/linux-5.10/security/integrity/ima/
H A Dima_crypto.c61 struct crypto_shash *tfm; member
93 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() local
214 ima_free_tfm(struct crypto_shash *tfm) ima_free_tfm() argument
292 struct crypto_ahash *tfm = ima_ahash_tfm; ima_alloc_atfm() local
312 ima_free_atfm(struct crypto_ahash *tfm) ima_free_atfm() argument
329 ima_calc_file_hash_atfm(struct file *file, struct ima_digest_data *hash, struct crypto_ahash *tfm) ima_calc_file_hash_atfm() argument
442 struct crypto_ahash *tfm; ima_calc_file_ahash() local
456 ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm) ima_calc_file_hash_tfm() argument
509 struct crypto_shash *tfm; ima_calc_file_shash() local
663 calc_buffer_ahash_atfm(const void *buf, loff_t len, struct ima_digest_data *hash, struct crypto_ahash *tfm) calc_buffer_ahash_atfm() argument
706 struct crypto_ahash *tfm; calc_buffer_ahash() local
720 calc_buffer_shash_tfm(const void *buf, loff_t size, struct ima_digest_data *hash, struct crypto_shash *tfm) calc_buffer_shash_tfm() argument
753 struct crypto_shash *tfm; calc_buffer_shash() local
800 ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, struct crypto_shash *tfm) ima_calc_boot_aggregate_tfm() argument
846 struct crypto_shash *tfm; ima_calc_boot_aggregate() local
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2transport.c867 struct crypto_aead *tfm; in smb3_crypto_aead_allocate() local
[all...]
/kernel/linux/linux-5.10/fs/crypto/
H A Dfname.c92 struct crypto_skcipher *tfm = ci->ci_enc_key.tfm; in fscrypt_fname_encrypt() local
148 struct crypto_skcipher *tfm = ci->ci_enc_key.tfm; in fname_decrypt() local
/kernel/linux/linux-5.10/net/bluetooth/
H A Damp.c130 struct crypto_shash *tfm; in hmac_sha256() local
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Dalgapi.h178 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned() argument
229 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg() argument
184 crypto_tfm_alg_instance( struct crypto_tfm *tfm) crypto_tfm_alg_instance() argument
H A Dskcipher.h164 __crypto_skcipher_cast( struct crypto_tfm *tfm) __crypto_skcipher_cast() argument
190 crypto_skcipher_tfm( struct crypto_skcipher *tfm) crypto_skcipher_tfm() argument
202 crypto_free_skcipher(struct crypto_skcipher *tfm) crypto_free_skcipher() argument
207 crypto_free_sync_skcipher(struct crypto_sync_skcipher *tfm) crypto_free_sync_skcipher() argument
224 crypto_skcipher_driver_name( struct crypto_skcipher *tfm) crypto_skcipher_driver_name() argument
230 crypto_skcipher_alg( struct crypto_skcipher *tfm) crypto_skcipher_alg() argument
251 crypto_skcipher_ivsize(struct crypto_skcipher *tfm) crypto_skcipher_ivsize() argument
256 crypto_sync_skcipher_ivsize( struct crypto_sync_skcipher *tfm) crypto_sync_skcipher_ivsize() argument
272 crypto_skcipher_blocksize( struct crypto_skcipher *tfm) crypto_skcipher_blocksize() argument
295 crypto_skcipher_chunksize( struct crypto_skcipher *tfm) crypto_skcipher_chunksize() argument
301 crypto_sync_skcipher_blocksize( struct crypto_sync_skcipher *tfm) crypto_sync_skcipher_blocksize() argument
307 crypto_skcipher_alignmask( struct crypto_skcipher *tfm) crypto_skcipher_alignmask() argument
313 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) crypto_skcipher_get_flags() argument
318 crypto_skcipher_set_flags(struct crypto_skcipher *tfm, u32 flags) crypto_skcipher_set_flags() argument
324 crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, u32 flags) crypto_skcipher_clear_flags() argument
330 crypto_sync_skcipher_get_flags( struct crypto_sync_skcipher *tfm) crypto_sync_skcipher_get_flags() argument
336 crypto_sync_skcipher_set_flags( struct crypto_sync_skcipher *tfm, u32 flags) crypto_sync_skcipher_set_flags() argument
342 crypto_sync_skcipher_clear_flags( struct crypto_sync_skcipher *tfm, u32 flags) crypto_sync_skcipher_clear_flags() argument
367 crypto_sync_skcipher_setkey(struct crypto_sync_skcipher *tfm, const u8 *key, unsigned int keylen) crypto_sync_skcipher_setkey() argument
373 crypto_skcipher_min_keysize( struct crypto_skcipher *tfm) crypto_skcipher_min_keysize() argument
379 crypto_skcipher_max_keysize( struct crypto_skcipher *tfm) crypto_skcipher_max_keysize() argument
403 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_sync_skcipher_reqtfm() local
451 crypto_skcipher_reqsize(struct crypto_skcipher *tfm) crypto_skcipher_reqsize() argument
464 skcipher_request_set_tfm(struct skcipher_request *req, struct crypto_skcipher *tfm) skcipher_request_set_tfm() argument
470 skcipher_request_set_sync_tfm(struct skcipher_request *req, struct crypto_sync_skcipher *tfm) skcipher_request_set_sync_tfm() argument
493 skcipher_request_alloc( struct crypto_skcipher *tfm, gfp_t gfp) skcipher_request_alloc() argument
518 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); skcipher_request_zero() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/
H A Dgrufault.c146 struct gru_tlb_fault_map *tfm; in get_clear_fault_map() local
/kernel/linux/linux-6.6/fs/crypto/
H A Dfname.c104 struct crypto_skcipher *tfm = ci->ci_enc_key.tfm; in fscrypt_fname_encrypt() local
161 struct crypto_skcipher *tfm = ci->ci_enc_key.tfm; in fname_decrypt() local
/kernel/linux/linux-6.6/include/crypto/
H A Dskcipher.h190 __crypto_skcipher_cast( struct crypto_tfm *tfm) __crypto_skcipher_cast() argument
216 crypto_skcipher_tfm( struct crypto_skcipher *tfm) crypto_skcipher_tfm() argument
228 crypto_free_skcipher(struct crypto_skcipher *tfm) crypto_free_skcipher() argument
233 crypto_free_sync_skcipher(struct crypto_sync_skcipher *tfm) crypto_free_sync_skcipher() argument
250 crypto_skcipher_driver_name( struct crypto_skcipher *tfm) crypto_skcipher_driver_name() argument
256 crypto_skcipher_alg( struct crypto_skcipher *tfm) crypto_skcipher_alg() argument
277 crypto_skcipher_ivsize(struct crypto_skcipher *tfm) crypto_skcipher_ivsize() argument
282 crypto_sync_skcipher_ivsize( struct crypto_sync_skcipher *tfm) crypto_sync_skcipher_ivsize() argument
298 crypto_skcipher_blocksize( struct crypto_skcipher *tfm) crypto_skcipher_blocksize() argument
321 crypto_skcipher_chunksize( struct crypto_skcipher *tfm) crypto_skcipher_chunksize() argument
327 crypto_sync_skcipher_blocksize( struct crypto_sync_skcipher *tfm) crypto_sync_skcipher_blocksize() argument
333 crypto_skcipher_alignmask( struct crypto_skcipher *tfm) crypto_skcipher_alignmask() argument
339 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) crypto_skcipher_get_flags() argument
344 crypto_skcipher_set_flags(struct crypto_skcipher *tfm, u32 flags) crypto_skcipher_set_flags() argument
350 crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, u32 flags) crypto_skcipher_clear_flags() argument
356 crypto_sync_skcipher_get_flags( struct crypto_sync_skcipher *tfm) crypto_sync_skcipher_get_flags() argument
362 crypto_sync_skcipher_set_flags( struct crypto_sync_skcipher *tfm, u32 flags) crypto_sync_skcipher_set_flags() argument
368 crypto_sync_skcipher_clear_flags( struct crypto_sync_skcipher *tfm, u32 flags) crypto_sync_skcipher_clear_flags() argument
393 crypto_sync_skcipher_setkey(struct crypto_sync_skcipher *tfm, const u8 *key, unsigned int keylen) crypto_sync_skcipher_setkey() argument
399 crypto_skcipher_min_keysize( struct crypto_skcipher *tfm) crypto_skcipher_min_keysize() argument
405 crypto_skcipher_max_keysize( struct crypto_skcipher *tfm) crypto_skcipher_max_keysize() argument
429 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_sync_skcipher_reqtfm() local
477 crypto_skcipher_reqsize(struct crypto_skcipher *tfm) crypto_skcipher_reqsize() argument
490 skcipher_request_set_tfm(struct skcipher_request *req, struct crypto_skcipher *tfm) skcipher_request_set_tfm() argument
496 skcipher_request_set_sync_tfm(struct skcipher_request *req, struct crypto_sync_skcipher *tfm) skcipher_request_set_sync_tfm() argument
519 skcipher_request_alloc( struct crypto_skcipher *tfm, gfp_t gfp) skcipher_request_alloc() argument
544 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); skcipher_request_zero() local
[all...]
H A Dalgapi.h184 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() argument
189 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, in crypto_tfm_ctx_align() argument
198 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned() argument
213 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) in crypto_tfm_ctx_dma() argument
218 crypto_tfm_alg_instance( struct crypto_tfm *tfm) crypto_tfm_alg_instance() argument
277 crypto_tfm_alg_type(struct crypto_tfm *tfm) crypto_tfm_alg_type() argument
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2transport.c914 struct crypto_aead *tfm; in smb3_crypto_aead_allocate() local
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Ddomain.c706 struct crypto_shash *tfm; in tb_domain_challenge_switch_key() local
[all...]
/kernel/linux/linux-6.6/drivers/target/iscsi/
H A Discsi_target_login.c80 struct crypto_ahash *tfm; in iscsi_login_setup_crypto() local
1170 struct crypto_ahash *tfm; in iscsi_target_login_sess_out() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c351 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_ahash_hmac_resume() local
537 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_ahash_do_request() local
561 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_ahash_prepare_request() local
584 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in aspeed_sham_update() local
612 static int aspeed_sham_shash_digest(struct crypto_shash *tfm, u32 flags, in aspeed_sham_shash_digest() argument
625 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); aspeed_sham_final() local
639 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); aspeed_sham_finup() local
664 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); aspeed_sham_init() local
751 aspeed_sham_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) aspeed_sham_setkey() argument
788 aspeed_sham_cra_init(struct crypto_tfm *tfm) aspeed_sham_cra_init() argument
819 aspeed_sham_cra_exit(struct crypto_tfm *tfm) aspeed_sham_cra_exit() argument
[all...]

Completed in 22 milliseconds

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