Home
last modified time | relevance | path

Searched refs:crypto_cipher (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.10/include/linux/
Dcrypto.h639 struct crypto_cipher { struct
763 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
765 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
782 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher()
792 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
801 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
835 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
840 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
845 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags()
850 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags()
[all …]
/Linux-v5.10/crypto/
Dcipher.c19 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned()
42 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey()
58 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one()
79 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one()
86 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
Dpcbc.c21 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment()
43 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace()
66 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt()
88 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment()
110 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace()
133 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt()
Decb.c16 struct crypto_cipher *cipher, in crypto_ecb_crypt()
46 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt()
55 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt()
Dcbc.c24 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment()
51 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace()
99 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment()
129 struct crypto_cipher *cipher; in crypto_cbc_decrypt_inplace()
Dxcbc.c28 struct crypto_cipher *child;
91 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update()
137 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final()
168 struct crypto_cipher *cipher; in xcbc_init_tfm()
Dcmac.c29 struct crypto_cipher *child;
124 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update()
170 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final()
202 struct crypto_cipher *cipher; in cmac_init_tfm()
Dctr.c28 struct crypto_cipher *tfm) in crypto_ctr_crypt_final()
46 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment()
72 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace()
101 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt()
Dkeywrap.c126 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt()
195 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt()
Dxts.c25 struct crypto_cipher *tweak;
45 struct crypto_cipher *tweak; in xts_setkey()
300 struct crypto_cipher *tweak; in xts_init_tfm()
Dofb.c20 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ofb_crypt()
Ddrbg.c1734 struct crypto_cipher *tfm = in drbg_fini_sym_kernel()
1735 (struct crypto_cipher *)drbg->priv_data; in drbg_fini_sym_kernel()
1756 struct crypto_cipher *tfm; in drbg_init_sym_kernel()
1816 struct crypto_cipher *tfm = in drbg_kcapi_symsetkey()
1817 (struct crypto_cipher *)drbg->priv_data; in drbg_kcapi_symsetkey()
1825 struct crypto_cipher *tfm = in drbg_kcapi_sym()
1826 (struct crypto_cipher *)drbg->priv_data; in drbg_kcapi_sym()
Dccm.c53 struct crypto_cipher *child;
803 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update()
829 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final()
842 struct crypto_cipher *cipher; in cbcmac_init_tfm()
Dadiantum.c71 struct crypto_cipher *blockcipher;
402 struct crypto_cipher *blockcipher; in adiantum_init_tfm()
Dessiv.c54 struct crypto_cipher *essiv_cipher;
267 struct crypto_cipher *essiv_cipher; in essiv_init_tfm()
Dansi_cprng.c46 struct crypto_cipher *tfm;
Dvmac.c52 struct crypto_cipher *cipher;
601 struct crypto_cipher *cipher; in vmac_init_tfm()
Dskcipher.c882 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple()
895 struct crypto_cipher *cipher; in skcipher_init_tfm_simple()
/Linux-v5.10/drivers/crypto/vmx/
Daes.c22 struct crypto_cipher *fallback;
30 struct crypto_cipher *fallback; in p8_aes_init()
43 crypto_cipher *) in p8_aes_init()
/Linux-v5.10/include/crypto/internal/
Dskcipher.h201 struct crypto_cipher *cipher; /* underlying block cipher */
203 static inline struct crypto_cipher *
/Linux-v5.10/drivers/crypto/
Dgeode-aes.h53 struct crypto_cipher *cip;
/Linux-v5.10/include/crypto/
Dalgapi.h217 static inline struct crypto_cipher *crypto_spawn_cipher( in crypto_spawn_cipher()
226 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
/Linux-v5.10/arch/arm/crypto/
Daes-neonbs-glue.c56 struct crypto_cipher *cts_tfm;
57 struct crypto_cipher *tweak_tfm;
/Linux-v5.10/arch/s390/crypto/
Daes_s390.c48 struct crypto_cipher *cip;
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c77 struct crypto_cipher *cipher; in chcr_ktls_save_keys()

12