Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/crypto/internal/
Dcipher.h16 struct crypto_cipher { struct
37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() argument
39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher()
66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags()
124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags()
[all …]
Dskcipher.h201 struct crypto_cipher *cipher; /* underlying block cipher */
203 static inline struct crypto_cipher *
/linux-6.1.9/crypto/
Dcipher.c20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned()
43 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey()
59 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one()
80 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one()
87 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
Dpcbc.c22 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment()
44 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace()
67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt()
89 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment()
111 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace()
134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt()
Decb.c17 struct crypto_cipher *cipher, in crypto_ecb_crypt()
47 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt()
56 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt()
Dxctr.c35 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_final()
50 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_segment()
75 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_inplace()
103 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_xctr_crypt()
Dcbc.c25 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment()
52 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace()
100 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment()
130 struct crypto_cipher *cipher; in crypto_cbc_decrypt_inplace()
Dxcbc.c29 struct crypto_cipher *child;
92 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update()
138 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final()
169 struct crypto_cipher *cipher; in xcbc_init_tfm()
Dcmac.c30 struct crypto_cipher *child;
125 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update()
171 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final()
203 struct crypto_cipher *cipher; in cmac_init_tfm()
Dctr.c29 struct crypto_cipher *tfm) in crypto_ctr_crypt_final()
47 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment()
73 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace()
102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt()
Dkeywrap.c127 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt()
196 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt()
Dxts.c26 struct crypto_cipher *tweak;
46 struct crypto_cipher *tweak; in xts_setkey()
301 struct crypto_cipher *tweak; in xts_init_tfm()
Dofb.c21 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ofb_crypt()
Dccm.c54 struct crypto_cipher *child;
804 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update()
830 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final()
843 struct crypto_cipher *cipher; in cbcmac_init_tfm()
Ddrbg.c1739 struct crypto_cipher *tfm = in drbg_fini_sym_kernel()
1740 (struct crypto_cipher *)drbg->priv_data; in drbg_fini_sym_kernel()
1761 struct crypto_cipher *tfm; in drbg_init_sym_kernel()
1821 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_symsetkey()
1829 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_sym()
Dhctr2.c44 struct crypto_cipher *blockcipher;
341 struct crypto_cipher *blockcipher; in hctr2_init_tfm()
Dadiantum.c72 struct crypto_cipher *blockcipher;
403 struct crypto_cipher *blockcipher; in adiantum_init_tfm()
Dessiv.c55 struct crypto_cipher *essiv_cipher;
268 struct crypto_cipher *essiv_cipher; in essiv_init_tfm()
Dansi_cprng.c47 struct crypto_cipher *tfm;
Dvmac.c53 struct crypto_cipher *cipher;
602 struct crypto_cipher *cipher; in vmac_init_tfm()
Dskcipher.c877 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple()
890 struct crypto_cipher *cipher; in skcipher_init_tfm_simple()
/linux-6.1.9/drivers/crypto/vmx/
Daes.c23 struct crypto_cipher *fallback;
31 struct crypto_cipher *fallback; in p8_aes_init()
44 crypto_cipher *) in p8_aes_init()
/linux-6.1.9/drivers/crypto/
Dgeode-aes.h53 struct crypto_cipher *cip;
/linux-6.1.9/arch/arm/crypto/
Daes-neonbs-glue.c59 struct crypto_cipher *cts_tfm;
60 struct crypto_cipher *tweak_tfm;
/linux-6.1.9/arch/s390/crypto/
Daes_s390.c49 struct crypto_cipher *cip;

12