Home
last modified time | relevance | path

Searched refs:cipher_alg (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/crypto/
Dcipher.c27 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey_unaligned()
49 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey()
83 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_encrypt_unaligned()
97 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_decrypt_unaligned()
110 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in crypto_init_cipher_ops()
/Linux-v4.19/drivers/crypto/bcm/
Dspu.c45 u32 cipher_alg; in spum_dump_msg_hdr() local
90 cipher_alg = (cflags & CIPHER_ALG) >> CIPHER_ALG_SHIFT; in spum_dump_msg_hdr()
94 cipher_alg, cipher_mode, cipher_type); in spum_dump_msg_hdr()
227 if (cipher_alg) { in spum_dump_msg_hdr()
230 switch (cipher_alg) { in spum_dump_msg_hdr()
350 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_ns2_ctx_max_payload() argument
379 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_nsp_ctx_max_payload() argument
Dspu.h231 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
234 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg,
Dspu2.c147 static int spu2_cipher_xlate(enum spu_cipher_alg cipher_alg, in spu2_cipher_xlate() argument
161 switch (cipher_alg) { in spu2_cipher_xlate()
199 cipher_alg, cipher_type); in spu2_cipher_xlate()
792 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spu2_ctx_max_payload() argument
796 if ((cipher_alg == CIPHER_ALG_AES) && in spu2_ctx_max_payload()
Dspu2.h186 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
Dcipher.c4325 struct iproc_alg_s *cipher_alg) in generic_cra_init() argument
4333 ctx->alg = cipher_alg; in generic_cra_init()
4334 ctx->cipher = cipher_alg->cipher_info; in generic_cra_init()
4335 ctx->auth = cipher_alg->auth_info; in generic_cra_init()
4336 ctx->auth_first = cipher_alg->auth_first; in generic_cra_init()
4354 struct iproc_alg_s *cipher_alg; in ablkcipher_cra_init() local
4360 cipher_alg = container_of(alg, struct iproc_alg_s, alg.crypto); in ablkcipher_cra_init()
4361 return generic_cra_init(tfm, cipher_alg); in ablkcipher_cra_init()
4368 struct iproc_alg_s *cipher_alg; in ahash_cra_init() local
4370 cipher_alg = container_of(__crypto_ahash_alg(alg), struct iproc_alg_s, in ahash_cra_init()
[all …]
Dcipher.h371 u32 (*spu_ctx_max_payload)(enum spu_cipher_alg cipher_alg,
/Linux-v4.19/Documentation/crypto/
Dapi-skcipher.rst8 :functions: crypto_alg ablkcipher_alg blkcipher_alg cipher_alg
Ddevel-algos.rst74 See struct cipher_alg below.
76 Cipher Definition With struct cipher_alg
79 Struct cipher_alg defines a single block cipher.
/Linux-v4.19/drivers/crypto/hisilicon/sec/
Dsec_drv.h243 enum sec_cipher_alg cipher_alg; member
Dsec_algs.c150 ctx->cipher_alg = alg; in sec_alg_skcipher_init_context()
153 ctx->cipher_alg); in sec_alg_skcipher_init_context()
466 switch (ctx->cipher_alg) { in sec_skcipher_alg_callback()
/Linux-v4.19/drivers/crypto/amcc/
Dcrypto4xx_sa.h108 u32 cipher_alg:4; member
Dcrypto4xx_alg.c51 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
/Linux-v4.19/include/linux/
Dcrypto.h356 struct cipher_alg { struct
481 struct cipher_alg cipher;
/Linux-v4.19/include/crypto/
Dalgapi.h321 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()