Searched refs:cipher_alg (Results 1 - 18 of 18) sorted by relevance

/linux-master/crypto/
H A Decb.c102 struct crypto_alg *cipher_alg; local
119 cipher_alg = crypto_spawn_cipher_alg(spawn);
122 cipher_alg);
129 inst->alg.co.base.cra_blocksize = cipher_alg->cra_blocksize;
130 inst->alg.co.base.cra_alignmask = cipher_alg->cra_alignmask;
131 inst->alg.co.base.cra_priority = cipher_alg->cra_priority;
132 inst->alg.co.min_keysize = cipher_alg->cra_cipher.cia_min_keysize;
133 inst->alg.co.max_keysize = cipher_alg->cra_cipher.cia_max_keysize;
134 inst->alg.co.ivsize = cipher_alg->cra_blocksize;
174 struct lskcipher_alg *cipher_alg; local
[all...]
H A Dlskcipher.c489 struct lskcipher_alg *cipher_alg; local
525 cipher_alg = crypto_lskcipher_spawn_alg(spawn);
528 &cipher_alg->co.base);
536 len = strscpy(ecb_name, &cipher_alg->co.base.cra_name[4],
561 if ((cipher_alg->co.base.cra_flags & CRYPTO_ALG_INSTANCE))
566 if (cipher_alg->co.ivsize)
572 inst->alg.co.base.cra_blocksize = cipher_alg->co.base.cra_blocksize;
573 inst->alg.co.base.cra_alignmask = cipher_alg->co.base.cra_alignmask;
574 inst->alg.co.base.cra_priority = cipher_alg->co.base.cra_priority;
575 inst->alg.co.min_keysize = cipher_alg
[all...]
H A Dcipher.c23 struct cipher_alg *cia = crypto_cipher_alg(tfm);
45 struct cipher_alg *cia = crypto_cipher_alg(tfm);
62 struct cipher_alg *cia = crypto_cipher_alg(tfm);
H A Dskcipher.c1039 struct crypto_alg *cipher_alg; local
1055 cipher_alg = crypto_spawn_cipher_alg(spawn);
1058 cipher_alg);
1065 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize;
1066 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask;
1067 inst->alg.base.cra_priority = cipher_alg->cra_priority;
1068 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize;
1069 inst->alg.max_keysize = cipher_alg->cra_cipher.cia_max_keysize;
1070 inst->alg.ivsize = cipher_alg->cra_blocksize;
/linux-master/arch/sparc/crypto/
H A Dcamellia_glue.c196 static struct crypto_alg cipher_alg = { variable in typeref:struct:crypto_alg
270 err = crypto_register_alg(&cipher_alg);
276 crypto_unregister_alg(&cipher_alg);
282 crypto_unregister_alg(&cipher_alg);
H A Daes_glue.c362 static struct crypto_alg cipher_alg = { variable in typeref:struct:crypto_alg
451 err = crypto_register_alg(&cipher_alg);
457 crypto_unregister_alg(&cipher_alg);
463 crypto_unregister_alg(&cipher_alg);
/linux-master/include/crypto/internal/
H A Dcipher.h215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm)
/linux-master/drivers/crypto/bcm/
H A Dspu.h221 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 Dspu.c31 u32 cipher_alg; local
76 cipher_alg = (cflags & CIPHER_ALG) >> CIPHER_ALG_SHIFT;
80 cipher_alg, cipher_mode, cipher_type);
213 if (cipher_alg) {
216 switch (cipher_alg) {
320 * @cipher_alg: The cipher algorithm
330 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, argument
349 * @cipher_alg: The cipher algorithm
359 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, argument
H A Dspu2.c128 * @cipher_alg: [in] cipher algorithm value from software enumeration
136 static int spu2_cipher_xlate(enum spu_cipher_alg cipher_alg, argument
150 switch (cipher_alg) {
188 cipher_alg, cipher_type);
772 * @cipher_alg: The cipher algorithm
783 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, argument
787 if ((cipher_alg == CIPHER_ALG_AES) &&
H A Dspu2.h175 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
H A Dcipher.h358 u32 (*spu_ctx_max_payload)(enum spu_cipher_alg cipher_alg,
H A Dcipher.c4088 struct iproc_alg_s *cipher_alg)
4096 ctx->alg = cipher_alg;
4097 ctx->cipher = cipher_alg->cipher_info;
4098 ctx->auth = cipher_alg->auth_info;
4099 ctx->auth_first = cipher_alg->auth_first;
4118 struct iproc_alg_s *cipher_alg; local
4124 cipher_alg = container_of(alg, struct iproc_alg_s, alg.skcipher);
4125 return generic_cra_init(tfm, cipher_alg);
4132 struct iproc_alg_s *cipher_alg; local
4134 cipher_alg
4087 generic_cra_init(struct crypto_tfm *tfm, struct iproc_alg_s *cipher_alg) argument
4157 struct iproc_alg_s *cipher_alg = container_of(aalg, struct iproc_alg_s, local
[all...]
/linux-master/include/linux/
H A Dcrypto.h187 * struct cipher_alg - single-block symmetric ciphers definition
233 struct cipher_alg { struct
330 * definition. See @struct @cipher_alg.
361 struct cipher_alg cipher;
/linux-master/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h99 u32 cipher_alg:4; member in struct:sa_command_0::__anon174
H A Dcrypto4xx_alg.c42 sa->sa_command_0.bf.cipher_alg = c;
/linux-master/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h232 * @cipher_alg: Cipher algorithm enabled include encryption mode.
243 enum sec_cipher_alg cipher_alg; member in struct:sec_alg_tfm_ctx
H A Dsec_algs.c150 ctx->cipher_alg = alg;
153 ctx->cipher_alg);
454 switch (ctx->cipher_alg) {

Completed in 323 milliseconds