Home
last modified time | relevance | path

Searched refs:skcipher_alg (Results 1 – 25 of 100) sorted by relevance

1234

/linux/include/crypto/internal/
H A Dsimd.h16 struct skcipher_alg;
18 struct simd_skcipher_alg *simd_skcipher_create_compat(struct skcipher_alg *ialg,
24 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
27 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
H A Dskcipher.h31 char head[offsetof(struct skcipher_alg, base)];
34 struct skcipher_alg alg;
200 int crypto_register_skcipher(struct skcipher_alg *alg);
201 void crypto_unregister_skcipher(struct skcipher_alg *alg);
202 int crypto_register_skciphers(struct skcipher_alg *algs, int count);
203 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count);
/linux/crypto/
H A Dskcipher.c47 static inline struct skcipher_alg *__crypto_skcipher_alg( in __crypto_skcipher_alg()
50 return container_of(alg, struct skcipher_alg, base); in __crypto_skcipher_alg()
287 struct skcipher_alg *alg; in skcipher_walk_virt()
381 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey_unaligned()
401 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in crypto_skcipher_setkey()
438 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_encrypt()
451 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_decrypt()
500 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_export()
511 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_import()
522 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm()
[all …]
H A Dsimd.c43 struct skcipher_alg alg;
116 struct skcipher_alg *alg; in simd_skcipher_init()
139 struct simd_skcipher_alg *simd_skcipher_create_compat(struct skcipher_alg *ialg, in simd_skcipher_create_compat()
145 struct skcipher_alg *alg; in simd_skcipher_create_compat()
207 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat()
241 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers()
H A Dessiv.c442 struct skcipher_alg_common *skcipher_alg = NULL; in essiv_create() local
489 skcipher_alg = crypto_spawn_skcipher_alg_common( in essiv_create()
491 block_base = &skcipher_alg->base; in essiv_create()
492 ivsize = skcipher_alg->ivsize; in essiv_create()
581 skcipher_inst->alg.min_keysize = skcipher_alg->min_keysize; in essiv_create()
582 skcipher_inst->alg.max_keysize = skcipher_alg->max_keysize; in essiv_create()
584 skcipher_inst->alg.chunksize = skcipher_alg->chunksize; in essiv_create()
/linux/arch/powerpc/crypto/
H A Daesp8-ppc.h6 extern struct skcipher_alg p8_aes_cbc_alg;
7 extern struct skcipher_alg p8_aes_ctr_alg;
8 extern struct skcipher_alg p8_aes_xts_alg;
/linux/arch/s390/crypto/
H A Ddes_s390.c146 static struct skcipher_alg ecb_des_alg = {
170 static struct skcipher_alg cbc_des_alg = {
264 static struct skcipher_alg ecb_des3_alg = {
288 static struct skcipher_alg cbc_des3_alg = {
361 static struct skcipher_alg ctr_des_alg = {
382 static struct skcipher_alg ctr_des3_alg = {
400 static struct skcipher_alg *des_s390_skciphers_ptr[6];
413 static int des_s390_register_skcipher(struct skcipher_alg *alg) in des_s390_register_skcipher()
H A Daes_s390.c178 static struct skcipher_alg ecb_aes_alg = {
258 static struct skcipher_alg cbc_aes_alg = {
409 static struct skcipher_alg xts_aes_alg = {
511 static struct skcipher_alg fullxts_aes_alg = {
612 static struct skcipher_alg ctr_aes_alg = {
947 static struct skcipher_alg *aes_s390_skcipher_algs[5];
951 static int aes_s390_register_skcipher(struct skcipher_alg *alg) in aes_s390_register_skcipher()
/linux/drivers/crypto/marvell/cesa/
H A Dcesa.h381 struct skcipher_alg **cipher_algs;
911 extern struct skcipher_alg mv_cesa_ecb_des_alg;
912 extern struct skcipher_alg mv_cesa_cbc_des_alg;
913 extern struct skcipher_alg mv_cesa_ecb_des3_ede_alg;
914 extern struct skcipher_alg mv_cesa_cbc_des3_ede_alg;
915 extern struct skcipher_alg mv_cesa_ecb_aes_alg;
916 extern struct skcipher_alg mv_cesa_cbc_aes_alg;
H A Dcipher.c517 struct skcipher_alg mv_cesa_ecb_des_alg = {
567 struct skcipher_alg mv_cesa_cbc_des_alg = {
626 struct skcipher_alg mv_cesa_ecb_des3_ede_alg = {
679 struct skcipher_alg mv_cesa_cbc_des3_ede_alg = {
753 struct skcipher_alg mv_cesa_ecb_aes_alg = {
802 struct skcipher_alg mv_cesa_cbc_aes_alg = {
/linux/drivers/crypto/nx/
H A Dnx.h184 extern struct skcipher_alg nx_cbc_aes_alg;
185 extern struct skcipher_alg nx_ecb_aes_alg;
188 extern struct skcipher_alg nx_ctr3686_aes_alg;
/linux/drivers/crypto/ccree/
H A Dcc_driver.h166 struct skcipher_alg skcipher_alg; member
175 struct skcipher_alg skcipher;
H A Dcc_cipher.c159 skcipher_alg.base); in cc_cipher_init()
161 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init()
237 skcipher_alg.base); in cc_cipher_exit()
238 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit()
403 skcipher_alg.base); in cc_cipher_setkey()
404 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey()
1379 struct skcipher_alg *alg; in cc_create_alg()
1385 alg = &t_alg->skcipher_alg; in cc_create_alg()
1418 crypto_unregister_skcipher(&t_alg->skcipher_alg); in cc_cipher_free()
1454 rc = crypto_register_skcipher(&t_alg->skcipher_alg); in cc_cipher_alloc()
[all …]
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes.c205 static const struct skcipher_alg ccp_aes_defaults = {
223 static const struct skcipher_alg ccp_aes_rfc3686_defaults = {
248 const struct skcipher_alg *alg_defaults;
294 struct skcipher_alg *alg; in ccp_register_aes_alg()
H A Dccp-crypto-des3.c129 static const struct skcipher_alg ccp_des3_defaults = {
154 const struct skcipher_alg *alg_defaults;
182 struct skcipher_alg *alg; in ccp_register_des3_alg()
H A Dccp-crypto.h41 struct skcipher_alg alg;
74 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in ccp_crypto_skcipher_alg()
/linux/include/crypto/
H A Dskcipher.h151 struct skcipher_alg { struct
379 static inline struct skcipher_alg *crypto_skcipher_alg( in crypto_skcipher_alg()
383 struct skcipher_alg, base); in crypto_skcipher_alg()
/linux/drivers/crypto/qce/
H A Dcipher.h50 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in to_cipher_tmpl()
/linux/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c28 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_need_fallback()
113 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_fallback()
141 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_prepare()
421 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ce_cipher_init()
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_need_fallback()
97 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher_fallback()
189 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher()
393 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init()
/linux/drivers/crypto/gemini/
H A Dsl3516-ce-cipher.c108 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher_fallback()
133 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher()
320 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sl3516_ce_cipher_init()
/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c65 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in meson_cipher_do_fallback()
90 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in meson_cipher()
316 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init()
/linux/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_need_fallback()
73 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_fallback()
313 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_run()
437 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_tfm_init()
/linux/arch/riscv/crypto/
H A Daes-riscv64-glue.c412 static struct skcipher_alg riscv64_zvkned_aes_skcipher_algs[] = {
462 static struct skcipher_alg riscv64_zvkned_zvkb_aes_skcipher_alg = {
481 static struct skcipher_alg riscv64_zvkned_zvbb_zvkg_aes_skcipher_alg = {
/linux/arch/x86/crypto/
H A Dcast5_avx_glue.c64 static struct skcipher_alg cast5_algs[] = {

1234