/linux-master/crypto/ |
H A D | ecb.c | 102 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 D | lskcipher.c | 489 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 D | cipher.c | 23 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 D | skcipher.c | 1039 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 D | camellia_glue.c | 196 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 D | aes_glue.c | 362 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 D | cipher.h | 215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm)
|
/linux-master/drivers/crypto/bcm/ |
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 | spu.c | 31 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 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, 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 D | spu2.h | 175 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
|
H A D | cipher.h | 358 u32 (*spu_ctx_max_payload)(enum spu_cipher_alg cipher_alg,
|
H A D | cipher.c | 4088 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 D | crypto.h | 187 * 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 D | crypto4xx_sa.h | 99 u32 cipher_alg:4; member in struct:sa_command_0::__anon174
|
H A D | crypto4xx_alg.c | 42 sa->sa_command_0.bf.cipher_alg = c;
|
/linux-master/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 in struct:sec_alg_tfm_ctx
|
H A D | sec_algs.c | 150 ctx->cipher_alg = alg; 153 ctx->cipher_alg); 454 switch (ctx->cipher_alg) {
|