/Linux-v5.4/crypto/ |
D | cipher.c | 22 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey_unaligned() 44 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey() 78 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_encrypt_unaligned() 92 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_decrypt_unaligned() 105 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in crypto_init_cipher_ops()
|
D | skcipher.c | 1174 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple() local 1191 cipher_alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER, mask); in skcipher_alloc_instance_simple() 1192 if (IS_ERR(cipher_alg)) in skcipher_alloc_instance_simple() 1193 return ERR_CAST(cipher_alg); in skcipher_alloc_instance_simple() 1203 cipher_alg); in skcipher_alloc_instance_simple() 1207 err = crypto_init_spawn(spawn, cipher_alg, in skcipher_alloc_instance_simple() 1215 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple() 1216 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask; in skcipher_alloc_instance_simple() 1217 inst->alg.base.cra_priority = cipher_alg->cra_priority; in skcipher_alloc_instance_simple() 1218 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in skcipher_alloc_instance_simple() [all …]
|
/Linux-v5.4/drivers/crypto/bcm/ |
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() 336 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_ns2_ctx_max_payload() argument 365 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_nsp_ctx_max_payload() argument
|
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,
|
D | spu2.c | 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() 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()
|
D | spu2.h | 175 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
|
D | cipher.c | 4259 struct iproc_alg_s *cipher_alg) in generic_cra_init() argument 4267 ctx->alg = cipher_alg; in generic_cra_init() 4268 ctx->cipher = cipher_alg->cipher_info; in generic_cra_init() 4269 ctx->auth = cipher_alg->auth_info; in generic_cra_init() 4270 ctx->auth_first = cipher_alg->auth_first; in generic_cra_init() 4288 struct iproc_alg_s *cipher_alg; in ablkcipher_cra_init() local 4294 cipher_alg = container_of(alg, struct iproc_alg_s, alg.crypto); in ablkcipher_cra_init() 4295 return generic_cra_init(tfm, cipher_alg); in ablkcipher_cra_init() 4302 struct iproc_alg_s *cipher_alg; in ahash_cra_init() local 4304 cipher_alg = container_of(__crypto_ahash_alg(alg), struct iproc_alg_s, in ahash_cra_init() [all …]
|
D | cipher.h | 358 u32 (*spu_ctx_max_payload)(enum spu_cipher_alg cipher_alg,
|
/Linux-v5.4/Documentation/crypto/ |
D | api-skcipher.rst | 8 :functions: crypto_alg ablkcipher_alg blkcipher_alg cipher_alg compress_alg
|
D | devel-algos.rst | 74 See struct cipher_alg below. 76 Cipher Definition With struct cipher_alg 79 Struct cipher_alg defines a single block cipher.
|
/Linux-v5.4/drivers/crypto/hisilicon/sec/ |
D | sec_drv.h | 243 enum sec_cipher_alg cipher_alg; member
|
D | sec_algs.c | 150 ctx->cipher_alg = alg; in sec_alg_skcipher_init_context() 153 ctx->cipher_alg); in sec_alg_skcipher_init_context() 453 switch (ctx->cipher_alg) { in sec_skcipher_alg_callback()
|
/Linux-v5.4/drivers/crypto/amcc/ |
D | crypto4xx_sa.h | 99 u32 cipher_alg:4; member
|
D | crypto4xx_alg.c | 42 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
|
/Linux-v5.4/include/crypto/ |
D | algapi.h | 317 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
|
/Linux-v5.4/include/linux/ |
D | crypto.h | 316 struct cipher_alg { struct 570 struct cipher_alg cipher;
|