Searched defs:tfm (Results 276 - 300 of 399) sorted by relevance

<<111213141516

/linux-master/crypto/
H A Ddh.c42 static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm) argument
71 static int dh_set_secret(struct crypto_kpp *tfm, const void *buf, argument
169 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local
251 static unsigned int dh_max_size(struct crypto_kpp *tfm) argument
258 static void dh_exit_tfm(struct crypto_kpp *tfm) argument
306 dh_safe_prime_instance_ctx( struct crypto_kpp *tfm) argument
312 dh_safe_prime_init_tfm(struct crypto_kpp *tfm) argument
328 dh_safe_prime_exit_tfm(struct crypto_kpp *tfm) argument
457 dh_safe_prime_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len) argument
544 dh_safe_prime_max_size(struct crypto_kpp *tfm) argument
[all...]
H A Dlskcipher.c32 static int lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm, argument
53 int crypto_lskcipher_setkey(struct crypto_lskcipher *tfm, const u8 *key, argument
20 __crypto_lskcipher_cast( struct crypto_tfm *tfm) argument
69 crypto_lskcipher_crypt_unaligned( struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, u32 flags)) argument
123 crypto_lskcipher_crypt(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv, u32 flags)) argument
140 crypto_lskcipher_encrypt(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv) argument
149 crypto_lskcipher_decrypt(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *iv) argument
158 crypto_lskcipher_crypt_sg(struct skcipher_request *req, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, u8 *ivs, u32 flags)) argument
167 struct crypto_lskcipher *tfm = *ctx; local
219 crypto_lskcipher_exit_tfm(struct crypto_tfm *tfm) argument
227 crypto_lskcipher_init_tfm(struct crypto_tfm *tfm) argument
299 crypto_lskcipher_exit_tfm_sg(struct crypto_tfm *tfm) argument
306 crypto_init_lskcipher_ops_sg(struct crypto_tfm *tfm) argument
425 lskcipher_setkey_simple(struct crypto_lskcipher *tfm, const u8 *key, unsigned int keylen) argument
436 lskcipher_init_tfm_simple(struct crypto_lskcipher *tfm) argument
452 lskcipher_exit_tfm_simple(struct crypto_lskcipher *tfm) argument
[all...]
H A Dvmac.c430 static int vmac_setkey(struct crypto_shash *tfm, argument
597 static int vmac_init_tfm(struct crypto_tfm *tfm) argument
612 static void vmac_exit_tfm(struct crypto_tfm *tfm) argument
[all...]
H A Dccm.c109 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, argument
393 static int crypto_ccm_init_tfm(struct crypto_aead *tfm) argument
429 static void crypto_ccm_exit_tfm(struct crypto_aead *tfm) argument
666 static int crypto_rfc4309_init_tfm(struct crypto_aead *tfm) argument
691 crypto_rfc4309_exit_tfm(struct crypto_aead *tfm) argument
801 struct crypto_cipher *tfm = tctx->child; local
826 struct crypto_cipher *tfm = tctx->child; local
836 cbcmac_init_tfm(struct crypto_tfm *tfm) argument
852 cbcmac_exit_tfm(struct crypto_tfm *tfm) argument
[all...]
/linux-master/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c29 struct crypto_akcipher *tfm; member in struct:virtio_crypto_akcipher_ctx
365 static int virtio_crypto_rsa_set_key(struct crypto_akcipher *tfm, argument
429 static int virtio_crypto_rsa_raw_set_priv_key(struct crypto_akcipher *tfm, argument
439 static int virtio_crypto_p1pad_rsa_sha1_set_priv_key(struct crypto_akcipher *tfm, argument
448 static int virtio_crypto_rsa_raw_set_pub_key(struct crypto_akcipher *tfm, argument
457 static int virtio_crypto_p1pad_rsa_sha1_set_pub_key(struct crypto_akcipher *tfm, argument
466 virtio_crypto_rsa_max_size(struct crypto_akcipher *tfm) argument
474 virtio_crypto_rsa_init_tfm(struct crypto_akcipher *tfm) argument
486 virtio_crypto_rsa_exit_tfm(struct crypto_akcipher *tfm) argument
[all...]
/linux-master/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c244 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
276 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
312 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
340 struct crypto_tfm *tfm = crypto_aead_tfm(aead); local
/linux-master/drivers/thunderbolt/
H A Ddomain.c711 struct crypto_shash *tfm; local
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c103 krb5_encrypt( struct crypto_sync_skcipher *tfm, void * iv, void * in, void * out, int length) argument
158 krb5_decrypt( struct crypto_sync_skcipher *tfm, void * iv, void * in, void * out, int length) argument
215 struct crypto_ahash *tfm; local
314 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen, const struct xdr_buf *body, int body_offset, struct xdr_netobj *cksumout) argument
385 struct crypto_sync_skcipher *tfm = local
446 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, int offset, struct page **pages) argument
487 struct crypto_sync_skcipher *tfm = local
529 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, int offset) argument
929 krb5_etm_checksum(struct crypto_sync_skcipher *cipher, struct crypto_ahash *tfm, const struct xdr_buf *body, int body_offset, struct xdr_netobj *cksumout) argument
[all...]
/linux-master/fs/smb/client/
H A Dsmb2transport.c916 struct crypto_aead *tfm; local
[all...]
/linux-master/drivers/crypto/tegra/
H A Dtegra-se-hash.c115 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
128 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
143 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
157 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
174 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
191 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
204 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
376 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
432 tegra_sha_init_fallback(struct crypto_ahash *tfm, struct tegra_sha_ctx *ctx, const char *algname) argument
458 tegra_sha_cra_init(struct crypto_tfm *tfm) argument
490 tegra_sha_cra_exit(struct crypto_tfm *tfm) argument
503 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
558 tegra_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
574 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
588 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
602 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
616 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
631 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
645 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); local
[all...]
/linux-master/drivers/crypto/starfive/
H A Djh7110-rsa.c284 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
316 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
448 static int starfive_rsa_setkey(struct crypto_akcipher *tfm, const void *key, argument
499 static int starfive_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument
512 starfive_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument
525 starfive_rsa_max_size(struct crypto_akcipher *tfm) argument
535 starfive_rsa_init_tfm(struct crypto_akcipher *tfm) argument
553 starfive_rsa_exit_tfm(struct crypto_akcipher *tfm) argument
[all...]
/linux-master/include/crypto/
H A Dalgapi.h181 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) argument
186 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, argument
205 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) argument
269 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) argument
210 crypto_tfm_alg_instance( struct crypto_tfm *tfm) argument
[all...]
H A Dhash.h155 struct crypto_shash *tfm; member in struct:shash_desc
248 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) argument
272 crypto_ahash_tfm(struct crypto_ahash *tfm) argument
283 crypto_free_ahash(struct crypto_ahash *tfm) argument
300 crypto_ahash_alg_name(struct crypto_ahash *tfm) argument
305 crypto_ahash_driver_name(struct crypto_ahash *tfm) argument
319 crypto_ahash_blocksize(struct crypto_ahash *tfm) argument
330 crypto_hash_alg_common( struct crypto_ahash *tfm) argument
346 crypto_ahash_digestsize(struct crypto_ahash *tfm) argument
361 crypto_ahash_statesize(struct crypto_ahash *tfm) argument
366 crypto_ahash_get_flags(struct crypto_ahash *tfm) argument
371 crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) argument
376 crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) argument
403 crypto_ahash_reqsize(struct crypto_ahash *tfm) argument
541 ahash_request_set_tfm(struct ahash_request *req, struct crypto_ahash *tfm) argument
559 ahash_request_alloc_noprof( struct crypto_ahash *tfm, gfp_t gfp) argument
686 crypto_shash_tfm(struct crypto_shash *tfm) argument
697 crypto_free_shash(struct crypto_shash *tfm) argument
702 crypto_shash_alg_name(struct crypto_shash *tfm) argument
707 crypto_shash_driver_name(struct crypto_shash *tfm) argument
721 crypto_shash_blocksize(struct crypto_shash *tfm) argument
731 crypto_shash_alg(struct crypto_shash *tfm) argument
745 crypto_shash_digestsize(struct crypto_shash *tfm) argument
750 crypto_shash_statesize(struct crypto_shash *tfm) argument
755 crypto_shash_get_flags(struct crypto_shash *tfm) argument
760 crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) argument
765 crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) argument
785 crypto_shash_descsize(struct crypto_shash *tfm) argument
890 struct crypto_shash *tfm = desc->tfm; local
[all...]
/linux-master/security/integrity/ima/
H A Dima_crypto.c88 struct crypto_shash *tfm = ima_shash_tfm; local
209 ima_free_tfm(struct crypto_shash *tfm) argument
287 struct crypto_ahash *tfm = ima_ahash_tfm; local
307 ima_free_atfm(struct crypto_ahash *tfm) argument
324 ima_calc_file_hash_atfm(struct file *file, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument
437 struct crypto_ahash *tfm; local
451 ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm) argument
504 struct crypto_shash *tfm; local
658 calc_buffer_ahash_atfm(const void *buf, loff_t len, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument
701 struct crypto_ahash *tfm; local
715 calc_buffer_shash_tfm(const void *buf, loff_t size, struct ima_digest_data *hash, struct crypto_shash *tfm) argument
748 struct crypto_shash *tfm; local
795 ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, struct crypto_shash *tfm) argument
841 struct crypto_shash *tfm; local
[all...]
/linux-master/security/integrity/evm/
H A Devm_crypto.c78 struct crypto_shash **tfm, *tmp_tfm; local
[all...]
/linux-master/fs/bcachefs/
H A Dchecksum.c97 static inline int do_encrypt_sg(struct crypto_sync_skcipher *tfm, argument
115 static inline int do_encrypt(struct crypto_sync_skcipher *tfm, argument
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto.h72 ccp_crypto_skcipher_alg(struct crypto_skcipher *tfm) argument
80 ccp_crypto_ahash_alg(struct crypto_tfm *tfm) argument
/linux-master/drivers/crypto/nx/
H A Dnx.c695 int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm) argument
702 int nx_crypto_ctx_aes_gcm_init(struct crypto_aead *tfm) argument
709 int nx_crypto_ctx_aes_ctr_init(struct crypto_skcipher *tfm) argument
715 int nx_crypto_ctx_aes_cbc_init(struct crypto_skcipher *tfm) argument
721 nx_crypto_ctx_aes_ecb_init(struct crypto_skcipher *tfm) argument
727 nx_crypto_ctx_sha_init(struct crypto_tfm *tfm) argument
732 nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm) argument
746 nx_crypto_ctx_exit(struct crypto_tfm *tfm) argument
757 nx_crypto_ctx_skcipher_exit(struct crypto_skcipher *tfm) argument
762 nx_crypto_ctx_aead_exit(struct crypto_aead *tfm) argument
[all...]
H A Dnx-common-powernv.c1034 static int nx842_powernv_crypto_init(struct crypto_tfm *tfm) argument
/linux-master/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); local
227 static int sec_alg_skcipher_setkey(struct crypto_skcipher *tfm, argument
253 static int sec_alg_skcipher_setkey_aes_ecb(struct crypto_skcipher *tfm, argument
275 static int sec_alg_skcipher_setkey_aes_cbc(struct crypto_skcipher *tfm, argument
297 static int sec_alg_skcipher_setkey_aes_ctr(struct crypto_skcipher *tfm, argument
319 sec_alg_skcipher_setkey_aes_xts(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
343 sec_alg_skcipher_setkey_des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
350 sec_alg_skcipher_setkey_des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
357 sec_alg_skcipher_setkey_3des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
365 sec_alg_skcipher_setkey_3des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument
711 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); local
872 sec_alg_skcipher_init(struct crypto_skcipher *tfm) argument
890 sec_alg_skcipher_exit(struct crypto_skcipher *tfm) argument
903 sec_alg_skcipher_init_with_queue(struct crypto_skcipher *tfm) argument
923 sec_alg_skcipher_exit_with_queue(struct crypto_skcipher *tfm) argument
[all...]
/linux-master/net/sctp/
H A Dauth.c456 struct crypto_shash *tfm = NULL; local
712 struct crypto_shash *tfm; local
/linux-master/drivers/crypto/caam/
H A Dcaampkc.c65 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
77 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
89 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
106 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
156 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
252 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
379 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
407 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
453 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
500 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
577 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
673 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
716 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
755 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
784 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
813 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
842 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local
943 caam_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument
1048 caam_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument
1100 caam_rsa_max_size(struct crypto_akcipher *tfm) argument
1108 caam_rsa_init_tfm(struct crypto_akcipher *tfm) argument
1134 caam_rsa_exit_tfm(struct crypto_akcipher *tfm) argument
[all...]
/linux-master/net/wireless/
H A Dlib80211_crypt_tkip.c624 struct crypto_shash *tfm = tkey->tx_tfm_michael; local
/linux-master/include/linux/
H A Dcrypto.h174 struct crypto_tfm *tfm; member in struct:crypto_async_request
447 crypto_free_tfm(struct crypto_tfm *tfm) argument
455 crypto_tfm_alg_name(struct crypto_tfm *tfm) argument
460 crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) argument
465 crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) argument
470 crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) argument
475 crypto_tfm_get_flags(struct crypto_tfm *tfm) argument
480 crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) argument
485 crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) argument
492 struct crypto_tfm *tfm; local
496 __crypto_comp_cast(struct crypto_tfm *tfm) argument
511 crypto_comp_tfm(struct crypto_comp *tfm) argument
516 crypto_free_comp(struct crypto_comp *tfm) argument
530 crypto_comp_name(struct crypto_comp *tfm) argument
[all...]
/linux-master/drivers/crypto/
H A Domap-aes.c570 static int omap_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, argument
626 static int omap_aes_init_tfm(struct crypto_skcipher *tfm) argument
644 static void omap_aes_exit_tfm(struct crypto_skcipher *tfm) argument

Completed in 248 milliseconds

<<111213141516