Home
last modified time | relevance | path

Searched refs:crypto_cipher (Results 1 - 25 of 55) sorted by relevance

123

/kernel/linux/linux-6.6/include/crypto/internal/
H A Dcipher.h16 struct crypto_cipher { struct
37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
50 * crypto_cipher is the cipher handle that is required for any subsequent API
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 *tf
[all...]
H A Dskcipher.h231 struct crypto_cipher *cipher; /* underlying block cipher */
233 static inline struct crypto_cipher *
/kernel/linux/linux-6.6/crypto/
H A 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()
94 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher()
98 struct crypto_cipher *ncipher; in crypto_clone_cipher()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
206 struct crypto_cipher *cipher; in cmac_init_tfm()
222 struct crypto_cipher *cipher; in cmac_clone_tfm()
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Dcrypto.h642 struct crypto_cipher { struct
766 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
768 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
779 * crypto_cipher is the cipher handle that is required for any subsequent API
785 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher()
795 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
804 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
838 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
843 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
848 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tf
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dcipher.c19 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned()
41 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey()
57 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one()
78 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one()
85 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/crypto/vmx/
H A Daes.c22 struct crypto_cipher *fallback;
30 struct crypto_cipher *fallback; in p8_aes_init()
43 crypto_cipher *) in p8_aes_init()
/kernel/linux/linux-6.6/drivers/crypto/vmx/
H A Daes.c23 struct crypto_cipher *fallback;
31 struct crypto_cipher *fallback; in p8_aes_init()
44 crypto_cipher *) in p8_aes_init()
/kernel/linux/linux-5.10/include/crypto/internal/
H A Dskcipher.h201 struct crypto_cipher *cipher; /* underlying block cipher */
203 static inline struct crypto_cipher *
/kernel/linux/linux-5.10/drivers/crypto/
H A Dgeode-aes.h53 struct crypto_cipher *cip;
/kernel/linux/linux-6.6/drivers/crypto/
H A Dgeode-aes.h53 struct crypto_cipher *cip;

Completed in 11 milliseconds

123