Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/crypto/
H A Dcipher.c23 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned()
46 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey()
63 struct cipher_alg *cia = crypto_cipher_alg(tfm); in cipher_crypt_one()
H A Dskcipher.c941 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple() local
957 cipher_alg = crypto_spawn_cipher_alg(spawn); in skcipher_alloc_instance_simple()
960 cipher_alg); in skcipher_alloc_instance_simple()
967 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
968 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask; in skcipher_alloc_instance_simple()
969 inst->alg.base.cra_priority = cipher_alg->cra_priority; in skcipher_alloc_instance_simple()
970 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in skcipher_alloc_instance_simple()
971 inst->alg.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in skcipher_alloc_instance_simple()
972 inst->alg.ivsize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
/OK3568_Linux_fs/kernel/arch/sparc/crypto/
H A Dcamellia_glue.c196 static struct crypto_alg cipher_alg = { variable
270 err = crypto_register_alg(&cipher_alg); in camellia_sparc64_mod_init()
276 crypto_unregister_alg(&cipher_alg); in camellia_sparc64_mod_init()
282 crypto_unregister_alg(&cipher_alg); in camellia_sparc64_mod_fini()
H A Daes_glue.c362 static struct crypto_alg cipher_alg = { variable
451 err = crypto_register_alg(&cipher_alg); in aes_sparc64_mod_init()
457 crypto_unregister_alg(&cipher_alg); in aes_sparc64_mod_init()
463 crypto_unregister_alg(&cipher_alg); in aes_sparc64_mod_fini()
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A Dspu.c31 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()
332 u32 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_ns2_ctx_max_payload() argument
361 u32 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, in spum_nsp_ctx_max_payload() argument
H A Dspu.h220 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,
H A Dspu2.c136 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()
H A Dspu2.h175 u32 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg,
H A Dcipher.c4184 struct iproc_alg_s *cipher_alg) in generic_cra_init() argument
4192 ctx->alg = cipher_alg; in generic_cra_init()
4193 ctx->cipher = cipher_alg->cipher_info; in generic_cra_init()
4194 ctx->auth = cipher_alg->auth_info; in generic_cra_init()
4195 ctx->auth_first = cipher_alg->auth_first; in generic_cra_init()
4214 struct iproc_alg_s *cipher_alg; in skcipher_init_tfm() local
4220 cipher_alg = container_of(alg, struct iproc_alg_s, alg.skcipher); in skcipher_init_tfm()
4221 return generic_cra_init(tfm, cipher_alg); in skcipher_init_tfm()
4228 struct iproc_alg_s *cipher_alg; in ahash_cra_init() local
4230 cipher_alg = container_of(__crypto_ahash_alg(alg), struct iproc_alg_s, in ahash_cra_init()
[all …]
H A Dcipher.h360 u32 (*spu_ctx_max_payload)(enum spu_cipher_alg cipher_alg,
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Doid.h627 int mbedtls_oid_get_cipher_alg( const mbedtls_asn1_buf *oid, mbedtls_cipher_type_t *cipher_alg );
642 mbedtls_cipher_type_t *cipher_alg );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Doid.h627 int mbedtls_oid_get_cipher_alg( const mbedtls_asn1_buf *oid, mbedtls_cipher_type_t *cipher_alg );
642 mbedtls_cipher_type_t *cipher_alg );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Doid.h627 int mbedtls_oid_get_cipher_alg( const mbedtls_asn1_buf *oid, mbedtls_cipher_type_t *cipher_alg );
642 mbedtls_cipher_type_t *cipher_alg );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Doid.h627 int mbedtls_oid_get_cipher_alg( const mbedtls_asn1_buf *oid, mbedtls_cipher_type_t *cipher_alg );
642 mbedtls_cipher_type_t *cipher_alg );
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Dapi-skcipher.rst8 :functions: crypto_alg cipher_alg compress_alg
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.
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dcipher.h213 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()
/OK3568_Linux_fs/kernel/include/linux/
H A Dcrypto.h242 struct cipher_alg { struct
487 struct cipher_alg cipher;
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h99 u32 cipher_alg:4; member
H A Dcrypto4xx_alg.c42 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()