Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dskcipher.h24 char head[offsetof(struct skcipher_alg, base)];
27 struct skcipher_alg alg;
101 static inline struct skcipher_alg *crypto_skcipher_spawn_alg( in crypto_skcipher_spawn_alg()
104 return container_of(spawn->base.alg, struct skcipher_alg, base); in crypto_skcipher_spawn_alg()
107 static inline struct skcipher_alg *crypto_spawn_skcipher_alg( in crypto_spawn_skcipher_alg()
125 int crypto_register_skcipher(struct skcipher_alg *alg);
126 void crypto_unregister_skcipher(struct skcipher_alg *alg);
127 int crypto_register_skciphers(struct skcipher_alg *algs, int count);
128 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count);
166 struct skcipher_alg *alg) in crypto_skcipher_alg_min_keysize()
[all …]
H A Dsimd.h15 struct skcipher_alg;
24 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
27 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
/OK3568_Linux_fs/kernel/drivers/crypto/vmx/
H A Dvmx.c22 extern struct skcipher_alg p8_aes_cbc_alg;
23 extern struct skcipher_alg p8_aes_ctr_alg;
24 extern struct skcipher_alg p8_aes_xts_alg;
/OK3568_Linux_fs/kernel/include/crypto/
H A Dskcipher.h104 struct skcipher_alg { struct
230 static inline struct skcipher_alg *crypto_skcipher_alg( in crypto_skcipher_alg()
234 struct skcipher_alg, base); in crypto_skcipher_alg()
237 static inline unsigned int crypto_skcipher_alg_ivsize(struct skcipher_alg *alg) in crypto_skcipher_alg_ivsize()
279 struct skcipher_alg *alg) in crypto_skcipher_alg_chunksize()
/OK3568_Linux_fs/kernel/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 Dpaes_s390.c249 static struct skcipher_alg ecb_paes_alg = {
366 static struct skcipher_alg cbc_paes_alg = {
543 static struct skcipher_alg xts_paes_alg = {
698 static struct skcipher_alg ctr_paes_alg = {
717 static inline void __crypto_unregister_skcipher(struct skcipher_alg *alg) in __crypto_unregister_skcipher()
H A Daes_s390.c280 static struct skcipher_alg ecb_aes_alg = {
360 static struct skcipher_alg cbc_aes_alg = {
515 static struct skcipher_alg xts_aes_alg = {
614 static struct skcipher_alg ctr_aes_alg = {
960 static struct skcipher_alg *aes_s390_skcipher_algs[4];
964 static int aes_s390_register_skcipher(struct skcipher_alg *alg) in aes_s390_register_skcipher()
/OK3568_Linux_fs/kernel/crypto/
H A Dessiv.c448 struct skcipher_alg *skcipher_alg = NULL; in essiv_create() local
487 skcipher_alg = crypto_spawn_skcipher_alg(&ictx->u.skcipher_spawn); in essiv_create()
488 block_base = &skcipher_alg->base; in essiv_create()
489 ivsize = crypto_skcipher_alg_ivsize(skcipher_alg); in essiv_create()
579 skcipher_inst->alg.min_keysize = crypto_skcipher_alg_min_keysize(skcipher_alg); in essiv_create()
580 skcipher_inst->alg.max_keysize = crypto_skcipher_alg_max_keysize(skcipher_alg); in essiv_create()
582 skcipher_inst->alg.chunksize = crypto_skcipher_alg_chunksize(skcipher_alg); in essiv_create()
583 skcipher_inst->alg.walksize = crypto_skcipher_alg_walksize(skcipher_alg); in essiv_create()
H A Dskcipher.c583 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in skcipher_setkey_unaligned()
603 struct skcipher_alg *cipher = crypto_skcipher_alg(tfm); in crypto_skcipher_setkey()
662 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm()
670 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm()
695 struct skcipher_alg *skcipher = container_of(alg, struct skcipher_alg, in crypto_skcipher_show()
713 struct skcipher_alg *skcipher = container_of(alg, struct skcipher_alg, in crypto_skcipher_report()
796 static int skcipher_prepare_alg(struct skcipher_alg *alg) in skcipher_prepare_alg()
816 int crypto_register_skcipher(struct skcipher_alg *alg) in crypto_register_skcipher()
829 void crypto_unregister_skcipher(struct skcipher_alg *alg) in crypto_unregister_skcipher()
835 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers()
[all …]
H A Dfips140-alg-registration.c181 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in fips140_skcipher_init_tfm()
238 static int fips140_prepare_skcipher_alg(struct skcipher_alg *alg) in fips140_prepare_skcipher_alg()
268 int fips140_crypto_register_skcipher(struct skcipher_alg *alg) in fips140_crypto_register_skcipher()
376 int fips140_crypto_register_skciphers(struct skcipher_alg *algs, int count) in fips140_crypto_register_skciphers()
H A Dsimd.c43 struct skcipher_alg alg;
116 struct skcipher_alg *alg; in simd_skcipher_init()
145 struct skcipher_alg *ialg; in simd_skcipher_create_compat()
146 struct skcipher_alg *alg; in simd_skcipher_create_compat()
229 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat()
263 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers()
H A Darc4.c52 static struct skcipher_alg arc4_alg = {
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/
H A Dcesa.h381 struct skcipher_alg **cipher_algs;
879 extern struct skcipher_alg mv_cesa_ecb_des_alg;
880 extern struct skcipher_alg mv_cesa_cbc_des_alg;
881 extern struct skcipher_alg mv_cesa_ecb_des3_ede_alg;
882 extern struct skcipher_alg mv_cesa_cbc_des3_ede_alg;
883 extern struct skcipher_alg mv_cesa_ecb_aes_alg;
884 extern struct skcipher_alg mv_cesa_cbc_aes_alg;
H A Dcipher.c502 struct skcipher_alg mv_cesa_ecb_des_alg = {
552 struct skcipher_alg mv_cesa_cbc_des_alg = {
611 struct skcipher_alg mv_cesa_ecb_des3_ede_alg = {
664 struct skcipher_alg mv_cesa_cbc_des3_ede_alg = {
738 struct skcipher_alg mv_cesa_ecb_aes_alg = {
787 struct skcipher_alg mv_cesa_cbc_aes_alg = {
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A Dcc_driver.h166 struct skcipher_alg skcipher_alg; member
175 struct skcipher_alg skcipher;
H A Dcc_cipher.c156 skcipher_alg.base); in cc_cipher_init()
158 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init()
234 skcipher_alg.base); in cc_cipher_exit()
235 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit()
406 skcipher_alg.base); in cc_cipher_setkey()
407 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey()
1417 struct skcipher_alg *alg; in cc_create_alg()
1423 alg = &t_alg->skcipher_alg; in cc_create_alg()
1452 crypto_unregister_skcipher(&t_alg->skcipher_alg); in cc_cipher_free()
1488 rc = crypto_register_skcipher(&t_alg->skcipher_alg); in cc_cipher_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/nx/
H A Dnx.h179 extern struct skcipher_alg nx_cbc_aes_alg;
180 extern struct skcipher_alg nx_ecb_aes_alg;
183 extern struct skcipher_alg nx_ctr3686_aes_alg;
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-crypto-aes.c206 static const struct skcipher_alg ccp_aes_defaults = {
224 static const struct skcipher_alg ccp_aes_rfc3686_defaults = {
249 const struct skcipher_alg *alg_defaults;
313 struct skcipher_alg *alg; in ccp_register_aes_alg()
H A Dccp-crypto-des3.c130 static const struct skcipher_alg ccp_des3_defaults = {
155 const struct skcipher_alg *alg_defaults;
183 struct skcipher_alg *alg; in ccp_register_des3_alg()
H A Dccp-crypto.h40 struct skcipher_alg alg;
73 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in ccp_crypto_skcipher_alg()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_v1_skcipher.c99 struct skcipher_alg *alg = crypto_skcipher_alg(cipher); in rk_cipher_setkey()
147 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_encrypt()
167 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_decrypt()
372 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_ablk_init_tfm()
/OK3568_Linux_fs/kernel/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()
317 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init()
H A Damlogic-gxl.h146 struct skcipher_alg skcipher;
/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A Dcipher.h51 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in to_cipher_tmpl()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c78 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher_fallback()
165 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher()
370 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init()

12345