Searched refs:skcipher_request (Results 51 - 75 of 162) sorted by relevance

1234567

/linux-master/include/crypto/
H A Dctr.h20 static inline int crypto_ctr_encrypt_walk(struct skcipher_request *req,
/linux-master/arch/arm/crypto/
H A Daes-ce-glue.c167 static int ecb_encrypt(struct skcipher_request *req)
187 static int ecb_decrypt(struct skcipher_request *req)
207 static int cbc_encrypt_walk(struct skcipher_request *req,
226 static int cbc_encrypt(struct skcipher_request *req)
237 static int cbc_decrypt_walk(struct skcipher_request *req,
256 static int cbc_decrypt(struct skcipher_request *req)
267 static int cts_cbc_encrypt(struct skcipher_request *req)
274 struct skcipher_request subreq;
325 static int cts_cbc_decrypt(struct skcipher_request *req)
332 struct skcipher_request subre
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto-des3.c23 struct skcipher_request *req = skcipher_request_cast(async_req);
61 static int ccp_des3_crypt(struct skcipher_request *req, bool encrypt)
106 static int ccp_des3_encrypt(struct skcipher_request *req)
111 static int ccp_des3_decrypt(struct skcipher_request *req)
H A Dccp-crypto-aes-xts.c64 struct skcipher_request *req = skcipher_request_cast(async_req);
104 static int ccp_aes_xts_crypt(struct skcipher_request *req,
187 static int ccp_aes_xts_encrypt(struct skcipher_request *req)
192 static int ccp_aes_xts_decrypt(struct skcipher_request *req)
/linux-master/drivers/crypto/
H A Dgeode-aes.c251 crypto_skcipher_set_reqsize(tfm, sizeof(struct skcipher_request) +
263 static int geode_skcipher_crypt(struct skcipher_request *req, int mode, int dir)
272 struct skcipher_request *subreq = skcipher_request_ctx(req);
294 static int geode_cbc_encrypt(struct skcipher_request *req)
299 static int geode_cbc_decrypt(struct skcipher_request *req)
304 static int geode_ecb_encrypt(struct skcipher_request *req)
309 static int geode_ecb_decrypt(struct skcipher_request *req)
/linux-master/drivers/crypto/gemini/
H A Dsl3516-ce-cipher.c25 static bool sl3516_ce_need_fallback(struct skcipher_request *areq)
103 static int sl3516_ce_cipher_fallback(struct skcipher_request *areq)
127 static int sl3516_ce_cipher(struct skcipher_request *areq)
268 struct skcipher_request *breq = container_of(areq, struct skcipher_request, base);
278 int sl3516_ce_skdecrypt(struct skcipher_request *areq)
296 int sl3516_ce_skencrypt(struct skcipher_request *areq)
H A Dsl3516-ce.h289 struct skcipher_request fallback_req; // keep at the end
335 int sl3516_ce_skdecrypt(struct skcipher_request *areq);
336 int sl3516_ce_skencrypt(struct skcipher_request *areq);
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c95 static inline u32 create_ctx_hdr(struct skcipher_request *req, u32 enc,
151 static inline u32 create_input_list(struct skcipher_request *req, u32 enc,
166 static inline void store_cb_info(struct skcipher_request *req,
173 static inline void create_output_list(struct skcipher_request *req,
193 static inline int cvm_enc_dec(struct skcipher_request *req, u32 enc)
222 static int cvm_encrypt(struct skcipher_request *req)
227 static int cvm_decrypt(struct skcipher_request *req)
/linux-master/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c25 static bool meson_cipher_need_fallback(struct skcipher_request *areq)
58 static int meson_cipher_do_fallback(struct skcipher_request *areq)
84 static int meson_cipher(struct skcipher_request *areq)
264 struct skcipher_request *breq = container_of(areq, struct skcipher_request, base);
274 int meson_skdecrypt(struct skcipher_request *areq)
292 int meson_skencrypt(struct skcipher_request *areq)
/linux-master/arch/arm64/crypto/
H A Daes-neonbs-glue.c94 static int __ecb_crypt(struct skcipher_request *req,
123 static int ecb_encrypt(struct skcipher_request *req)
128 static int ecb_decrypt(struct skcipher_request *req)
156 static int cbc_encrypt(struct skcipher_request *req)
179 static int cbc_decrypt(struct skcipher_request *req)
207 static int ctr_encrypt(struct skcipher_request *req)
276 static int __xts_crypt(struct skcipher_request *req, bool encrypt,
284 struct skcipher_request subreq;
382 static int xts_encrypt(struct skcipher_request *req)
387 static int xts_decrypt(struct skcipher_request *re
[all...]
H A Dsm4-ce-glue.c109 static int sm4_ecb_do_crypt(struct skcipher_request *req, const u32 *rkey)
138 static int sm4_ecb_encrypt(struct skcipher_request *req)
146 static int sm4_ecb_decrypt(struct skcipher_request *req)
154 static int sm4_cbc_crypt(struct skcipher_request *req,
190 static int sm4_cbc_encrypt(struct skcipher_request *req)
198 static int sm4_cbc_decrypt(struct skcipher_request *req)
206 static int sm4_cbc_cts_crypt(struct skcipher_request *req, bool encrypt)
213 struct skcipher_request subreq;
268 static int sm4_cbc_cts_encrypt(struct skcipher_request *req)
273 static int sm4_cbc_cts_decrypt(struct skcipher_request *re
[all...]
H A Daes-glue.c179 static int __maybe_unused ecb_encrypt(struct skcipher_request *req)
199 static int __maybe_unused ecb_decrypt(struct skcipher_request *req)
219 static int cbc_encrypt_walk(struct skcipher_request *req,
237 static int __maybe_unused cbc_encrypt(struct skcipher_request *req)
248 static int cbc_decrypt_walk(struct skcipher_request *req,
266 static int __maybe_unused cbc_decrypt(struct skcipher_request *req)
277 static int cts_cbc_encrypt(struct skcipher_request *req)
285 struct skcipher_request subreq;
334 static int cts_cbc_decrypt(struct skcipher_request *req)
342 struct skcipher_request subre
[all...]
H A Dchacha-neon-glue.c104 static int chacha_neon_stream_xor(struct skcipher_request *req,
138 static int chacha_neon(struct skcipher_request *req)
146 static int xchacha_neon(struct skcipher_request *req)
/linux-master/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c24 static int sun8i_ce_cipher_need_fallback(struct skcipher_request *areq)
89 static int sun8i_ce_cipher_fallback(struct skcipher_request *areq)
122 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base);
305 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base);
349 struct skcipher_request *breq = container_of(areq, struct skcipher_request, base);
375 int sun8i_ce_skdecrypt(struct skcipher_request *areq)
394 int sun8i_ce_skencrypt(struct skcipher_request *are
[all...]
/linux-master/arch/x86/crypto/
H A Ddes3_ede_glue.c66 static int ecb_crypt(struct skcipher_request *req, const u32 *expkey)
110 static int ecb_encrypt(struct skcipher_request *req)
118 static int ecb_decrypt(struct skcipher_request *req)
149 static int cbc_encrypt(struct skcipher_request *req)
228 static int cbc_decrypt(struct skcipher_request *req)
/linux-master/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c15 static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq)
148 static int noinline_for_stack sun4i_ss_cipher_poll_fallback(struct skcipher_request *areq)
176 static int sun4i_ss_cipher_poll(struct skcipher_request *areq)
397 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq)
408 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq)
420 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq)
431 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq)
443 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq)
454 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq)
466 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *are
[all...]
/linux-master/arch/s390/crypto/
H A Daes_s390.c189 struct skcipher_request *req,
192 struct skcipher_request *subreq = skcipher_request_ctx(req);
222 static int ecb_aes_crypt(struct skcipher_request *req, unsigned long modifier)
244 static int ecb_aes_encrypt(struct skcipher_request *req)
249 static int ecb_aes_decrypt(struct skcipher_request *req)
268 crypto_skcipher_set_reqsize(tfm, sizeof(struct skcipher_request) +
318 static int cbc_aes_crypt(struct skcipher_request *req, unsigned long modifier)
350 static int cbc_aes_encrypt(struct skcipher_request *req)
355 static int cbc_aes_decrypt(struct skcipher_request *req)
418 static int xts_aes_crypt(struct skcipher_request *re
[all...]
/linux-master/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c32 struct skcipher_request *skcipher_req;
52 struct skcipher_request *req,
60 struct skcipher_request *ablk_req;
324 struct skcipher_request *req,
466 static int virtio_crypto_skcipher_encrypt(struct skcipher_request *req)
491 static int virtio_crypto_skcipher_decrypt(struct skcipher_request *req)
542 struct skcipher_request *req = container_of(vreq, struct skcipher_request, base);
560 struct skcipher_request *req,
/linux-master/crypto/
H A Dadiantum.c104 struct skcipher_request streamcipher_req;
126 struct skcipher_request req; /* must be last */
219 static void adiantum_hash_header(struct skcipher_request *req)
247 static int adiantum_hash_message(struct skcipher_request *req,
278 static int adiantum_finish(struct skcipher_request *req)
330 struct skcipher_request *req = data;
338 static int adiantum_crypt(struct skcipher_request *req, bool enc)
417 static int adiantum_encrypt(struct skcipher_request *req)
422 static int adiantum_decrypt(struct skcipher_request *req)
H A Dkeywrap.c124 static int crypto_kw_decrypt(struct skcipher_request *req)
193 static int crypto_kw_encrypt(struct skcipher_request *req)
H A Dhctr2.c72 struct skcipher_request xctr_req;
170 static int hctr2_hash_tweak(struct skcipher_request *req)
192 static int hctr2_hash_message(struct skcipher_request *req,
229 static int hctr2_finish(struct skcipher_request *req)
257 struct skcipher_request *req = data;
265 static int hctr2_crypt(struct skcipher_request *req, bool enc)
324 static int hctr2_encrypt(struct skcipher_request *req)
329 static int hctr2_decrypt(struct skcipher_request *req)
/linux-master/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c252 static int kmb_ocs_sk_validate_input(struct skcipher_request *req,
308 static int kmb_ocs_sk_common(struct skcipher_request *req,
374 static void kmb_ocs_sk_dma_cleanup(struct skcipher_request *req)
398 static int kmb_ocs_sk_prepare_inplace(struct skcipher_request *req)
447 static int kmb_ocs_sk_prepare_notinplace(struct skcipher_request *req)
514 static int kmb_ocs_sk_run(struct skcipher_request *req)
948 struct skcipher_request *req =
949 container_of(areq, struct skcipher_request, base);
1009 static int kmb_ocs_aes_ecb_encrypt(struct skcipher_request *req)
1014 static int kmb_ocs_aes_ecb_decrypt(struct skcipher_request *re
[all...]
/linux-master/drivers/crypto/nx/
H A Dnx-aes-ctr.c72 static int ctr_aes_nx_crypt(struct skcipher_request *req, u8 *iv)
115 static int ctr3686_aes_nx_crypt(struct skcipher_request *req)
/linux-master/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c23 static bool sun8i_ss_need_fallback(struct skcipher_request *areq)
89 static int sun8i_ss_cipher_fallback(struct skcipher_request *areq)
120 static int sun8i_ss_setup_ivs(struct skcipher_request *areq)
183 static int sun8i_ss_cipher(struct skcipher_request *areq)
335 struct skcipher_request *breq = container_of(areq, struct skcipher_request, base);
345 int sun8i_ss_skdecrypt(struct skcipher_request *areq)
366 int sun8i_ss_skencrypt(struct skcipher_request *areq)
/linux-master/drivers/crypto/caam/
H A Dcaamalg_qi2.h188 struct skcipher_request fallback_req;

Completed in 361 milliseconds

1234567