Searched defs:tfm (Results 301 - 325 of 399) sorted by relevance

<<111213141516

/linux-master/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c600 struct crypto_shash *tfm = tkey->tx_tfm_michael; local
/linux-master/drivers/crypto/ccree/
H A Dcc_cipher.c64 static inline enum cc_key_type cc_key_type(struct crypto_tfm *tfm) argument
154 static int cc_cipher_init(struct crypto_tfm *tfm) argument
232 cc_cipher_exit(struct crypto_tfm *tfm) argument
304 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); local
404 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); local
510 cc_setup_readiv_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int ivsize, struct cc_hw_desc desc[], unsigned int *seq_size) argument
566 cc_setup_state_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int ivsize, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument
610 cc_setup_xex_state_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int ivsize, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument
688 cc_setup_key_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument
770 cc_setup_mlli_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, void *areq, struct cc_hw_desc desc[], unsigned int *seq_size) argument
797 cc_setup_flow_desc(struct crypto_tfm *tfm, struct cipher_req_ctx *req_ctx, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, struct cc_hw_desc desc[], unsigned int *seq_size) argument
881 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); local
[all...]
H A Dcc_hash.c287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1110 cc_get_hash_len(struct crypto_tfm *tfm) argument
1120 cc_cra_init(struct crypto_tfm *tfm) argument
1141 cc_cra_exit(struct crypto_tfm *tfm) argument
1153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
1423 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
2077 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local
[all...]
/linux-master/crypto/
H A Dalgapi.c804 struct crypto_tfm *tfm; local
829 struct crypto_tfm *tfm; local
[all...]
H A Dtcrypt.c249 struct crypto_aead *tfm; local
524 struct crypto_aead *tfm; local
872 struct crypto_ahash *tfm; local
1065 struct crypto_skcipher *tfm; local
1302 struct crypto_skcipher *tfm; local
[all...]
H A Dahash.c34 static inline struct crypto_shash *ahash_to_shash(struct crypto_ahash *tfm) argument
106 static void crypto_exit_ahash_using_shash(struct crypto_tfm *tfm) argument
113 static int crypto_init_ahash_using_shash(struct crypto_tfm *tfm) argument
39 prepare_shash_desc(struct ahash_request *req, struct crypto_ahash *tfm) argument
211 ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
217 ahash_set_needkey(struct crypto_ahash *tfm, struct ahash_alg *alg) argument
224 crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
255 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
268 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
330 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
341 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
352 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
363 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
426 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
442 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
452 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
462 crypto_ahash_exit_tfm(struct crypto_tfm *tfm) argument
470 crypto_ahash_init_tfm(struct crypto_tfm *tfm) argument
581 struct crypto_tfm *tfm = crypto_ahash_tfm(hash); local
[all...]
H A Dcryptd.c187 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) argument
270 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
316 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
339 static int cryptd_skcipher_init_tfm(struct crypto_skcipher *tfm) argument
358 cryptd_skcipher_exit_tfm(struct crypto_skcipher *tfm) argument
430 cryptd_hash_init_tfm(struct crypto_ahash *tfm) argument
449 cryptd_hash_clone_tfm(struct crypto_ahash *ntfm, struct crypto_ahash *tfm) argument
464 cryptd_hash_exit_tfm(struct crypto_ahash *tfm) argument
487 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
516 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
534 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
610 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
641 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
745 struct crypto_aead *tfm; local
812 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local
833 cryptd_aead_init_tfm(struct crypto_aead *tfm) argument
852 cryptd_aead_exit_tfm(struct crypto_aead *tfm) argument
954 struct crypto_skcipher *tfm; local
976 cryptd_skcipher_child(struct cryptd_skcipher *tfm) argument
984 cryptd_skcipher_queued(struct cryptd_skcipher *tfm) argument
992 cryptd_free_skcipher(struct cryptd_skcipher *tfm) argument
1006 struct crypto_ahash *tfm; local
1026 cryptd_ahash_child(struct cryptd_ahash *tfm) argument
1041 cryptd_ahash_queued(struct cryptd_ahash *tfm) argument
1049 cryptd_free_ahash(struct cryptd_ahash *tfm) argument
1063 struct crypto_aead *tfm; local
1083 cryptd_aead_child(struct cryptd_aead *tfm) argument
1091 cryptd_aead_queued(struct cryptd_aead *tfm) argument
1099 cryptd_free_aead(struct cryptd_aead *tfm) argument
[all...]
H A Dgcm.c146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, argument
519 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) argument
557 static void crypto_gcm_exit_tfm(struct crypto_aead *tfm) argument
785 static int crypto_rfc4106_init_tfm(struct crypto_aead *tfm) argument
810 crypto_rfc4106_exit_tfm(struct crypto_aead *tfm) argument
983 crypto_rfc4543_init_tfm(struct crypto_aead *tfm) argument
1021 crypto_rfc4543_exit_tfm(struct crypto_aead *tfm) argument
[all...]
/linux-master/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c370 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
472 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
516 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); local
609 static int crypto4xx_hash_alg_init(struct crypto_tfm *tfm, argument
703 crypto4xx_sha1_alg_init(struct crypto_tfm *tfm) argument
[all...]
/linux-master/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c538 static int hisi_zip_acomp_init(struct crypto_acomp *tfm) argument
576 static void hisi_zip_acomp_exit(struct crypto_acomp *tfm) argument
/linux-master/arch/arm64/crypto/
H A Daes-glue.c137 static int skcipher_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key, argument
145 static int __maybe_unused xts_set_key(struct crypto_skcipher *tfm, argument
162 static int __maybe_unused essiv_cbc_set_key(struct crypto_skcipher *tfm, argument
181 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
201 struct crypto_skcipher *tfm local
222 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
251 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
279 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
336 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
391 essiv_cbc_init_tfm(struct crypto_skcipher *tfm) argument
400 essiv_cbc_exit_tfm(struct crypto_skcipher *tfm) argument
409 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
431 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
453 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
499 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
543 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
615 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
800 cbcmac_setkey(struct crypto_shash *tfm, const u8 *in_key, unsigned int key_len) argument
817 cmac_setkey(struct crypto_shash *tfm, const u8 *in_key, unsigned int key_len) argument
841 xcbc_setkey(struct crypto_shash *tfm, const u8 *in_key, unsigned int key_len) argument
[all...]
/linux-master/net/rxrpc/
H A Drxkad.c235 struct crypto_skcipher *tfm = &call->conn->rxkad.cipher->base; local
1216 struct crypto_sync_skcipher *tfm; local
/linux-master/arch/s390/crypto/
H A Dpaes_s390.c160 static int ecb_paes_init(struct crypto_skcipher *tfm) argument
170 static void ecb_paes_exit(struct crypto_skcipher *tfm) argument
197 static int ecb_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, argument
213 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
275 static int cbc_paes_init(struct crypto_skcipher *tfm) argument
285 cbc_paes_exit(struct crypto_skcipher *tfm) argument
312 cbc_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument
328 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
395 xts_paes_init(struct crypto_skcipher *tfm) argument
406 xts_paes_exit(struct crypto_skcipher *tfm) argument
454 xts_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int xts_key_len) argument
494 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
575 ctr_paes_init(struct crypto_skcipher *tfm) argument
585 ctr_paes_exit(struct crypto_skcipher *tfm) argument
613 ctr_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, unsigned int key_len) argument
644 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
[all...]
/linux-master/drivers/crypto/starfive/
H A Djh7110-hash.c257 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
275 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
292 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
309 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
346 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
360 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
[all...]
/linux-master/drivers/scsi/
H A Discsi_tcp.c586 struct crypto_ahash *tfm; local
674 struct crypto_ahash *tfm; local
/linux-master/kernel/
H A Dkexec_file.c703 struct crypto_shash *tfm; local
/linux-master/include/crypto/
H A Dskcipher.h258 __crypto_skcipher_cast( struct crypto_tfm *tfm) argument
302 crypto_skcipher_tfm( struct crypto_skcipher *tfm) argument
308 crypto_lskcipher_tfm( struct crypto_lskcipher *tfm) argument
320 crypto_free_skcipher(struct crypto_skcipher *tfm) argument
325 crypto_free_sync_skcipher(struct crypto_sync_skcipher *tfm) argument
336 crypto_free_lskcipher(struct crypto_lskcipher *tfm) argument
353 crypto_skcipher_driver_name( struct crypto_skcipher *tfm) argument
359 crypto_lskcipher_driver_name( struct crypto_lskcipher *tfm) argument
365 crypto_skcipher_alg_common( struct crypto_skcipher *tfm) argument
372 crypto_skcipher_alg( struct crypto_skcipher *tfm) argument
379 crypto_lskcipher_alg( struct crypto_lskcipher *tfm) argument
395 crypto_skcipher_ivsize(struct crypto_skcipher *tfm) argument
400 crypto_sync_skcipher_ivsize( struct crypto_sync_skcipher *tfm) argument
415 crypto_lskcipher_ivsize( struct crypto_lskcipher *tfm) argument
431 crypto_skcipher_blocksize( struct crypto_skcipher *tfm) argument
447 crypto_lskcipher_blocksize( struct crypto_lskcipher *tfm) argument
464 crypto_skcipher_chunksize( struct crypto_skcipher *tfm) argument
481 crypto_lskcipher_chunksize( struct crypto_lskcipher *tfm) argument
498 crypto_skcipher_statesize( struct crypto_skcipher *tfm) argument
515 crypto_lskcipher_statesize( struct crypto_lskcipher *tfm) argument
521 crypto_sync_skcipher_blocksize( struct crypto_sync_skcipher *tfm) argument
527 crypto_skcipher_alignmask( struct crypto_skcipher *tfm) argument
533 crypto_lskcipher_alignmask( struct crypto_lskcipher *tfm) argument
539 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) argument
544 crypto_skcipher_set_flags(struct crypto_skcipher *tfm, u32 flags) argument
550 crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, u32 flags) argument
556 crypto_sync_skcipher_get_flags( struct crypto_sync_skcipher *tfm) argument
562 crypto_sync_skcipher_set_flags( struct crypto_sync_skcipher *tfm, u32 flags) argument
568 crypto_sync_skcipher_clear_flags( struct crypto_sync_skcipher *tfm, u32 flags) argument
574 crypto_lskcipher_get_flags(struct crypto_lskcipher *tfm) argument
579 crypto_lskcipher_set_flags(struct crypto_lskcipher *tfm, u32 flags) argument
585 crypto_lskcipher_clear_flags(struct crypto_lskcipher *tfm, u32 flags) argument
610 crypto_sync_skcipher_setkey(struct crypto_sync_skcipher *tfm, const u8 *key, unsigned int keylen) argument
635 crypto_skcipher_min_keysize( struct crypto_skcipher *tfm) argument
641 crypto_skcipher_max_keysize( struct crypto_skcipher *tfm) argument
647 crypto_lskcipher_min_keysize( struct crypto_lskcipher *tfm) argument
653 crypto_lskcipher_max_keysize( struct crypto_lskcipher *tfm) argument
677 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
797 crypto_skcipher_reqsize(struct crypto_skcipher *tfm) argument
810 skcipher_request_set_tfm(struct skcipher_request *req, struct crypto_skcipher *tfm) argument
816 skcipher_request_set_sync_tfm(struct skcipher_request *req, struct crypto_sync_skcipher *tfm) argument
839 skcipher_request_alloc_noprof( struct crypto_skcipher *tfm, gfp_t gfp) argument
865 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local
[all...]
/linux-master/arch/x86/crypto/
H A Dcurve25519-x86_64.c1615 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, argument
1632 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local
1654 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local
1682 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) argument
/linux-master/drivers/crypto/marvell/cesa/
H A Dhash.c458 static inline int mv_cesa_ahash_cra_init(struct crypto_tfm *tfm) argument
1187 struct crypto_ahash *tfm; local
1235 mv_cesa_ahmac_cra_init(struct crypto_tfm *tfm) argument
1259 mv_cesa_ahmac_md5_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
1330 mv_cesa_ahmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
1388 mv_cesa_ahmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
[all...]
/linux-master/drivers/crypto/nx/
H A Dnx-common-pseries.c1011 static int nx842_pseries_crypto_init(struct crypto_tfm *tfm) argument
/linux-master/drivers/crypto/caam/
H A Dcaamalg_qi.c2505 static int caam_cra_init(struct crypto_skcipher *tfm) argument
2538 static int caam_aead_init(struct crypto_aead *tfm) argument
2559 static void caam_cra_exit(struct crypto_skcipher *tfm) argument
2568 caam_aead_exit(struct crypto_aead *tfm) argument
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c546 static int qat_alg_aead_init_sessions(struct crypto_aead *tfm, const u8 *key, argument
589 static int qat_alg_aead_rekey(struct crypto_aead *tfm, const u8 *key, argument
603 static int qat_alg_aead_newkey(struct crypto_aead *tfm, const u8 *key, argument
655 qat_alg_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) argument
786 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); local
832 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); local
938 qat_alg_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen, int mode) argument
952 qat_alg_skcipher_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
959 qat_alg_skcipher_ctr_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
966 qat_alg_skcipher_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
1020 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); local
1087 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); local
1152 qat_alg_aead_init(struct crypto_aead *tfm, enum icp_qat_hw_auth_algo hash, const char *hash_name) argument
1166 qat_alg_aead_sha1_init(struct crypto_aead *tfm) argument
1171 qat_alg_aead_sha256_init(struct crypto_aead *tfm) argument
1176 qat_alg_aead_sha512_init(struct crypto_aead *tfm) argument
1181 qat_alg_aead_exit(struct crypto_aead *tfm) argument
1206 qat_alg_skcipher_init_tfm(struct crypto_skcipher *tfm) argument
1212 qat_alg_skcipher_init_xts_tfm(struct crypto_skcipher *tfm) argument
1236 qat_alg_skcipher_exit_tfm(struct crypto_skcipher *tfm) argument
1263 qat_alg_skcipher_exit_xts_tfm(struct crypto_skcipher *tfm) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_macsec.c55 struct crypto_skcipher *tfm; local
/linux-master/drivers/crypto/aspeed/
H A Daspeed-acry.c485 static int aspeed_acry_rsa_setkey(struct crypto_akcipher *tfm, const void *key, argument
532 static int aspeed_acry_rsa_set_pub_key(struct crypto_akcipher *tfm, argument
546 static int aspeed_acry_rsa_set_priv_key(struct crypto_akcipher *tfm, argument
560 static unsigned int aspeed_acry_rsa_max_size(struct crypto_akcipher *tfm) argument
570 aspeed_acry_rsa_init_tfm(struct crypto_akcipher *tfm) argument
592 aspeed_acry_rsa_exit_tfm(struct crypto_akcipher *tfm) argument
[all...]
/linux-master/drivers/crypto/
H A Dimg-hash.c489 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
554 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
569 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
583 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
599 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
612 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
624 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
678 img_hash_cra_init(struct crypto_tfm *tfm, const char *alg_name) argument
696 img_hash_cra_md5_init(struct crypto_tfm *tfm) argument
701 img_hash_cra_sha1_init(struct crypto_tfm *tfm) argument
706 img_hash_cra_sha224_init(struct crypto_tfm *tfm) argument
711 img_hash_cra_sha256_init(struct crypto_tfm *tfm) argument
716 img_hash_cra_exit(struct crypto_tfm *tfm) argument
[all...]

Completed in 488 milliseconds

<<111213141516