Home
last modified time | relevance | path

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

/linux/crypto/
H A Dcipher.c23 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned()
45 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey()
62 struct cipher_alg *cia = crypto_cipher_alg(tfm); in cipher_crypt_one()
H A Dskcipher.c844 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple() local
860 cipher_alg = crypto_spawn_cipher_alg(spawn); in skcipher_alloc_instance_simple()
863 cipher_alg); in skcipher_alloc_instance_simple()
870 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
871 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask; in skcipher_alloc_instance_simple()
872 inst->alg.base.cra_priority = cipher_alg->cra_priority; in skcipher_alloc_instance_simple()
873 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in skcipher_alloc_instance_simple()
874 inst->alg.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in skcipher_alloc_instance_simple()
875 inst->alg.ivsize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
/linux/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 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,
/linux/include/crypto/internal/
H A Dcipher.h215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
/linux/Documentation/crypto/
H A Ddevel-algos.rst64 See struct cipher_alg below.
66 Cipher Definition With struct cipher_alg
69 Struct cipher_alg defines a single block cipher.
/linux/drivers/net/ovpn/
H A Dnetlink.c911 pkr.key.cipher_alg = nla_get_u32(attrs[OVPN_A_KEYCONF_CIPHER_ALG]); in ovpn_nl_key_new_doit()
914 pkr.key.cipher_alg, &pkr.key.encrypt); in ovpn_nl_key_new_doit()
919 pkr.key.cipher_alg, &pkr.key.decrypt); in ovpn_nl_key_new_doit()
968 nla_put_u32(skb, OVPN_A_KEYCONF_CIPHER_ALG, keyconf->cipher_alg)) in ovpn_nl_send_key()
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h243 enum sec_cipher_alg cipher_alg; member
H A Dsec_algs.c150 ctx->cipher_alg = alg; in sec_alg_skcipher_init_context()
153 ctx->cipher_alg); in sec_alg_skcipher_init_context()
454 switch (ctx->cipher_alg) { in sec_skcipher_alg_callback()
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h99 u32 cipher_alg:4; member