| /Linux-v4.19/include/crypto/ |
| D | skcipher.h | 29 struct skcipher_request { struct 58 int (*encrypt)(struct skcipher_request *req); argument 59 int (*decrypt)(struct skcipher_request *req); 128 int (*encrypt)(struct skcipher_request *req); 129 int (*decrypt)(struct skcipher_request *req); 143 char __##name##_desc[sizeof(struct skcipher_request) + \ 145 struct skcipher_request *name = (void *)__##name##_desc 420 struct skcipher_request *req) in crypto_skcipher_reqtfm() 436 static inline int crypto_skcipher_encrypt(struct skcipher_request *req) in crypto_skcipher_encrypt() 457 static inline int crypto_skcipher_decrypt(struct skcipher_request *req) in crypto_skcipher_decrypt() [all …]
|
| /Linux-v4.19/drivers/crypto/sunxi-ss/ |
| D | sun4i-ss.h | 190 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq); 191 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq); 192 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq); 193 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq); 195 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq); 196 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq); 197 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq); 198 int sun4i_ss_ecb_des_decrypt(struct skcipher_request *areq); 200 int sun4i_ss_cbc_des3_encrypt(struct skcipher_request *areq); 201 int sun4i_ss_cbc_des3_decrypt(struct skcipher_request *areq); [all …]
|
| D | sun4i-ss-cipher.c | 19 static int sun4i_ss_opti_poll(struct skcipher_request *areq) in sun4i_ss_opti_poll() 127 static int sun4i_ss_cipher_poll(struct skcipher_request *areq) in sun4i_ss_cipher_poll() 320 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_encrypt() 331 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_decrypt() 343 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_encrypt() 354 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_decrypt() 366 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_encrypt() 377 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_decrypt() 389 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_encrypt() 400 int sun4i_ss_ecb_des_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_decrypt() [all …]
|
| /Linux-v4.19/drivers/crypto/marvell/ |
| D | cipher.c | 43 struct skcipher_request *req) in mv_cesa_skcipher_req_iter_init() 60 mv_cesa_skcipher_dma_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_dma_cleanup() 76 static inline void mv_cesa_skcipher_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_cleanup() 84 static void mv_cesa_skcipher_std_step(struct skcipher_request *req) in mv_cesa_skcipher_std_step() 117 static int mv_cesa_skcipher_std_process(struct skcipher_request *req, in mv_cesa_skcipher_std_process() 139 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_process() 151 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_step() 161 mv_cesa_skcipher_dma_prepare(struct skcipher_request *req) in mv_cesa_skcipher_dma_prepare() 170 mv_cesa_skcipher_std_prepare(struct skcipher_request *req) in mv_cesa_skcipher_std_prepare() 182 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_prepare() [all …]
|
| /Linux-v4.19/crypto/ |
| D | lrw.c | 72 struct skcipher_request subreq; 149 static int post_crypt(struct skcipher_request *req) in post_crypt() 153 struct skcipher_request *subreq; in post_crypt() 200 static int pre_crypt(struct skcipher_request *req) in pre_crypt() 206 struct skcipher_request *subreq; in pre_crypt() 277 static int init_crypt(struct skcipher_request *req, crypto_completion_t done) in init_crypt() 281 struct skcipher_request *subreq; in init_crypt() 313 static void exit_crypt(struct skcipher_request *req) in exit_crypt() 323 static int do_encrypt(struct skcipher_request *req, int err) in do_encrypt() 326 struct skcipher_request *subreq; in do_encrypt() [all …]
|
| D | xts.c | 55 struct skcipher_request subreq; 99 static int post_crypt(struct skcipher_request *req) in post_crypt() 103 struct skcipher_request *subreq; in post_crypt() 150 static int pre_crypt(struct skcipher_request *req) in pre_crypt() 154 struct skcipher_request *subreq; in pre_crypt() 216 static int init_crypt(struct skcipher_request *req, crypto_completion_t done) in init_crypt() 220 struct skcipher_request *subreq; in init_crypt() 250 static void exit_crypt(struct skcipher_request *req) in exit_crypt() 260 static int do_encrypt(struct skcipher_request *req, int err) in do_encrypt() 263 struct skcipher_request *subreq; in do_encrypt() [all …]
|
| D | cts.c | 62 struct skcipher_request subreq; 65 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space() 94 struct skcipher_request *req = areq->data; in cts_cbc_crypt_done() 102 static int cts_cbc_encrypt(struct skcipher_request *req) in cts_cbc_encrypt() 106 struct skcipher_request *subreq = &rctx->subreq; in cts_cbc_encrypt() 134 struct skcipher_request *req = areq->data; in crypto_cts_encrypt_done() 147 static int crypto_cts_encrypt(struct skcipher_request *req) in crypto_cts_encrypt() 152 struct skcipher_request *subreq = &rctx->subreq; in crypto_cts_encrypt() 181 static int cts_cbc_decrypt(struct skcipher_request *req) in cts_cbc_decrypt() 185 struct skcipher_request *subreq = &rctx->subreq; in cts_cbc_decrypt() [all …]
|
| D | simd.c | 59 static int simd_skcipher_encrypt(struct skcipher_request *req) in simd_skcipher_encrypt() 63 struct skcipher_request *subreq; in simd_skcipher_encrypt() 80 static int simd_skcipher_decrypt(struct skcipher_request *req) in simd_skcipher_decrypt() 84 struct skcipher_request *subreq; in simd_skcipher_decrypt() 127 reqsize = sizeof(struct skcipher_request); in simd_skcipher_init()
|
| D | pcbc.c | 46 static int crypto_pcbc_encrypt_segment(struct skcipher_request *req, in crypto_pcbc_encrypt_segment() 68 static int crypto_pcbc_encrypt_inplace(struct skcipher_request *req, in crypto_pcbc_encrypt_inplace() 92 static int crypto_pcbc_encrypt(struct skcipher_request *req) in crypto_pcbc_encrypt() 116 static int crypto_pcbc_decrypt_segment(struct skcipher_request *req, in crypto_pcbc_decrypt_segment() 140 static int crypto_pcbc_decrypt_inplace(struct skcipher_request *req, in crypto_pcbc_decrypt_inplace() 164 static int crypto_pcbc_decrypt(struct skcipher_request *req) in crypto_pcbc_decrypt()
|
| /Linux-v4.19/drivers/crypto/amcc/ |
| D | crypto4xx_core.h | 180 int crypto4xx_encrypt_ctr(struct skcipher_request *req); 181 int crypto4xx_decrypt_ctr(struct skcipher_request *req); 182 int crypto4xx_encrypt_iv(struct skcipher_request *req); 183 int crypto4xx_decrypt_iv(struct skcipher_request *req); 184 int crypto4xx_encrypt_noiv(struct skcipher_request *req); 185 int crypto4xx_decrypt_noiv(struct skcipher_request *req); 186 int crypto4xx_rfc3686_encrypt(struct skcipher_request *req); 187 int crypto4xx_rfc3686_decrypt(struct skcipher_request *req);
|
| /Linux-v4.19/arch/x86/include/asm/crypto/ |
| D | glue_helper.h | 103 struct skcipher_request *req); 106 struct skcipher_request *req); 109 struct skcipher_request *req); 112 struct skcipher_request *req); 115 struct skcipher_request *req,
|
| /Linux-v4.19/arch/x86/crypto/ |
| D | serpent_avx2_glue.c | 142 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 147 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 152 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 158 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 163 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt() 168 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 178 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| D | camellia_aesni_avx2_glue.c | 157 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 162 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 167 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 173 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 178 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt() 183 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 193 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| D | serpent_avx_glue.c | 192 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 197 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 202 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 208 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 213 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt() 218 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 228 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| D | twofish_avx_glue.c | 195 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 200 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 205 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 211 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 216 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt() 221 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 231 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| D | cast6_avx_glue.c | 160 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 165 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 170 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 176 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 181 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt() 212 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 222 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| D | camellia_aesni_avx_glue.c | 161 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 166 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 171 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 177 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 182 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt() 209 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 219 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| D | serpent_sse2_glue.c | 143 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 148 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 153 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 159 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 164 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
|
| D | twofish_glue_3way.c | 158 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 163 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 168 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 174 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 179 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
|
| D | cast5_avx_glue.c | 62 static int ecb_crypt(struct skcipher_request *req, bool enc) in ecb_crypt() 115 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 120 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 125 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 211 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 291 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
|
| /Linux-v4.19/include/crypto/internal/ |
| D | skcipher.h | 93 static inline void skcipher_request_complete(struct skcipher_request *req, int err) in skcipher_request_complete() 145 struct skcipher_request *req, 149 struct skcipher_request *req); 174 static inline void *skcipher_request_ctx(struct skcipher_request *req) in skcipher_request_ctx() 179 static inline u32 skcipher_request_flags(struct skcipher_request *req) in skcipher_request_flags()
|
| /Linux-v4.19/arch/arm64/crypto/ |
| D | speck-neon-glue.c | 44 __speck128_xts_crypt(struct skcipher_request *req, in __speck128_xts_crypt() 94 static int speck128_xts_encrypt(struct skcipher_request *req) in speck128_xts_encrypt() 100 static int speck128_xts_decrypt(struct skcipher_request *req) in speck128_xts_decrypt() 146 __speck64_xts_crypt(struct skcipher_request *req, speck64_crypt_one_t crypt_one, in __speck64_xts_crypt() 196 static int speck64_xts_encrypt(struct skcipher_request *req) in speck64_xts_encrypt() 202 static int speck64_xts_decrypt(struct skcipher_request *req) in speck64_xts_decrypt()
|
| D | aes-neonbs-glue.c | 93 static int __ecb_crypt(struct skcipher_request *req, in __ecb_crypt() 122 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 127 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 154 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 177 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 224 static int ctr_encrypt(struct skcipher_request *req) in ctr_encrypt() 286 static int ctr_encrypt_sync(struct skcipher_request *req) in ctr_encrypt_sync() 297 static int __xts_crypt(struct skcipher_request *req, in __xts_crypt() 329 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 334 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|
| /Linux-v4.19/arch/arm/crypto/ |
| D | speck-neon-glue.c | 50 __speck128_xts_crypt(struct skcipher_request *req, in __speck128_xts_crypt() 100 static int speck128_xts_encrypt(struct skcipher_request *req) in speck128_xts_encrypt() 106 static int speck128_xts_decrypt(struct skcipher_request *req) in speck128_xts_decrypt() 152 __speck64_xts_crypt(struct skcipher_request *req, speck64_crypt_one_t crypt_one, in __speck64_xts_crypt() 202 static int speck64_xts_encrypt(struct skcipher_request *req) in speck64_xts_encrypt() 208 static int speck64_xts_decrypt(struct skcipher_request *req) in speck64_xts_decrypt()
|
| D | aes-neonbs-glue.c | 80 static int __ecb_crypt(struct skcipher_request *req, in __ecb_crypt() 109 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt() 114 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt() 146 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt() 151 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt() 195 static int ctr_encrypt(struct skcipher_request *req) in ctr_encrypt() 271 static int __xts_crypt(struct skcipher_request *req, in __xts_crypt() 302 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt() 307 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
|