/kernel/linux/linux-5.10/crypto/ |
H A D | cipher.c | 22 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned() 44 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey() 61 struct cipher_alg *cia = crypto_cipher_alg(tfm); in cipher_crypt_one()
|
H A D | skcipher.c | 940 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple() local 956 cipher_alg = crypto_spawn_cipher_alg(spawn); in skcipher_alloc_instance_simple() 959 cipher_alg); in skcipher_alloc_instance_simple() 966 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple() 967 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask; in skcipher_alloc_instance_simple() 968 inst->alg.base.cra_priority = cipher_alg->cra_priority; in skcipher_alloc_instance_simple() 969 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in skcipher_alloc_instance_simple() 970 inst->alg.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in skcipher_alloc_instance_simple() 971 inst->alg.ivsize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | cipher.c | 23 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned() 46 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey() 63 struct cipher_alg *cia = crypto_cipher_alg(tfm); in cipher_crypt_one()
|
H A D | skcipher.c | 986 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple() local 1002 cipher_alg = crypto_spawn_cipher_alg(spawn); in skcipher_alloc_instance_simple() 1005 cipher_alg); in skcipher_alloc_instance_simple() 1012 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple() 1013 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask; in skcipher_alloc_instance_simple() 1014 inst->alg.base.cra_priority = cipher_alg->cra_priority; in skcipher_alloc_instance_simple() 1015 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in skcipher_alloc_instance_simple() 1016 inst->alg.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in skcipher_alloc_instance_simple() 1017 inst->alg.ivsize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
|
/kernel/linux/linux-5.10/arch/sparc/crypto/ |
H A D | camellia_glue.c | 196 static struct crypto_alg cipher_alg = { variable 270 err = crypto_register_alg(&cipher_alg); in camellia_sparc64_mod_init() 276 crypto_unregister_alg(&cipher_alg); in camellia_sparc64_mod_init() 282 crypto_unregister_alg(&cipher_alg); in camellia_sparc64_mod_fini()
|
H A D | aes_glue.c | 362 static struct crypto_alg cipher_alg = { variable 451 err = crypto_register_alg(&cipher_alg); in aes_sparc64_mod_init() 457 crypto_unregister_alg(&cipher_alg); in aes_sparc64_mod_init() 463 crypto_unregister_alg(&cipher_alg); in aes_sparc64_mod_fini()
|
/kernel/linux/linux-6.6/arch/sparc/crypto/ |
H A D | camellia_glue.c | 196 static struct crypto_alg cipher_alg = { variable 270 err = crypto_register_alg(&cipher_alg); in camellia_sparc64_mod_init() 276 crypto_unregister_alg(&cipher_alg); in camellia_sparc64_mod_init() 282 crypto_unregister_alg(&cipher_alg); in camellia_sparc64_mod_fini()
|
H A D | aes_glue.c | 362 static struct crypto_alg cipher_alg = { variable 451 err = crypto_register_alg(&cipher_alg); in aes_sparc64_mod_init() 457 crypto_unregister_alg(&cipher_alg); in aes_sparc64_mod_init() 463 crypto_unregister_alg(&cipher_alg); in aes_sparc64_mod_fini()
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | spu.c | 31 u32 cipher_alg; in spum_dump_msg_hdr() local 76 cipher_alg = (cflags & CIPHER_ALG) >> CIPHER_ALG_SHIFT; in spum_dump_msg_hdr() 80 cipher_alg, cipher_mode, cipher_type); in spum_dump_msg_hdr() 213 if (cipher_alg) { in spum_dump_msg_hdr() 216 switch (cipher_alg) { in spum_dump_msg_hdr() 322 * @cipher_alg: The cipher algorithm 332 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_ns2_ctx_max_payload() argument 351 * @cipher_alg: The cipher algorithm 361 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_nsp_ctx_max_payload() argument
|
H A D | spu.h | 220 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, 223 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg,
|
H A D | spu2.c | 128 * @cipher_alg: [in] cipher algorithm value from software enumeration 136 static int spu2_cipher_xlate(enum spu_cipher_alg cipher_alg, in spu2_cipher_xlate() argument 150 switch (cipher_alg) { in spu2_cipher_xlate() 188 cipher_alg, cipher_type); in spu2_cipher_xlate() 770 * @cipher_alg: The cipher algorithm 781 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spu2_ctx_max_payload() argument 785 if ((cipher_alg == CIPHER_ALG_AES) && in spu2_ctx_max_payload()
|
H A D | spu2.h | 175 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
|
H A D | cipher.c | 4184 struct iproc_alg_s *cipher_alg) in generic_cra_init() 4192 ctx->alg = cipher_alg; in generic_cra_init() 4193 ctx->cipher = cipher_alg->cipher_info; in generic_cra_init() 4194 ctx->auth = cipher_alg->auth_info; in generic_cra_init() 4195 ctx->auth_first = cipher_alg->auth_first; in generic_cra_init() 4214 struct iproc_alg_s *cipher_alg; in skcipher_init_tfm() local 4220 cipher_alg = container_of(alg, struct iproc_alg_s, alg.skcipher); in skcipher_init_tfm() 4221 return generic_cra_init(tfm, cipher_alg); in skcipher_init_tfm() 4228 struct iproc_alg_s *cipher_alg; in ahash_cra_init() local 4230 cipher_alg in ahash_cra_init() 4183 generic_cra_init(struct crypto_tfm *tfm, struct iproc_alg_s *cipher_alg) generic_cra_init() argument 4252 struct iproc_alg_s *cipher_alg = container_of(aalg, struct iproc_alg_s, aead_cra_init() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | spu.c | 31 u32 cipher_alg; in spum_dump_msg_hdr() local 76 cipher_alg = (cflags & CIPHER_ALG) >> CIPHER_ALG_SHIFT; in spum_dump_msg_hdr() 80 cipher_alg, cipher_mode, cipher_type); in spum_dump_msg_hdr() 213 if (cipher_alg) { in spum_dump_msg_hdr() 216 switch (cipher_alg) { in spum_dump_msg_hdr() 320 * @cipher_alg: The cipher algorithm 330 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_ns2_ctx_max_payload() argument 349 * @cipher_alg: The cipher algorithm 359 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_nsp_ctx_max_payload() argument
|
H A D | spu.h | 221 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, 224 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg,
|
H A D | spu2.c | 128 * @cipher_alg: [in] cipher algorithm value from software enumeration 136 static int spu2_cipher_xlate(enum spu_cipher_alg cipher_alg, in spu2_cipher_xlate() argument 150 switch (cipher_alg) { in spu2_cipher_xlate() 188 cipher_alg, cipher_type); in spu2_cipher_xlate() 772 * @cipher_alg: The cipher algorithm 783 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spu2_ctx_max_payload() argument 787 if ((cipher_alg == CIPHER_ALG_AES) && in spu2_ctx_max_payload()
|
H A D | spu2.h | 175 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | crypto.h | 189 * struct cipher_alg - single-block symmetric ciphers definition 235 struct cipher_alg { struct 330 * definition. See @struct @cipher_alg. 361 struct cipher_alg cipher;
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | cipher.h | 215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | crypto.h | 196 * struct cipher_alg - single-block symmetric ciphers definition 242 struct cipher_alg { struct 447 * definition. See @struct @cipher_alg. 487 struct cipher_alg cipher;
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/ |
H A D | sec_drv.h | 232 * @cipher_alg: Cipher algorithm enabled include encryption mode. 243 enum sec_cipher_alg cipher_alg; member
|
/kernel/linux/linux-5.10/drivers/crypto/amcc/ |
H A D | crypto4xx_sa.h | 99 u32 cipher_alg:4; member
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | algapi.h | 229 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
|
/kernel/linux/linux-6.6/drivers/crypto/amcc/ |
H A D | crypto4xx_sa.h | 99 u32 cipher_alg:4; member
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec/ |
H A D | sec_drv.h | 232 * @cipher_alg: Cipher algorithm enabled include encryption mode. 243 enum sec_cipher_alg cipher_alg; member
|