Home
last modified time | relevance | path

Searched defs:alg (Results 1 – 25 of 92) sorted by relevance

1234

/drivers/crypto/
Dpicoxcell_crypto.c107 struct aead_alg alg; member
150 struct crypto_alg alg; member
189 static inline struct spacc_alg *to_spacc_alg(struct crypto_alg *alg) in to_spacc_alg()
194 static inline struct spacc_aead *to_spacc_aead(struct aead_alg *alg) in to_spacc_aead()
525 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_need_fallback() local
573 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_submit() local
644 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_setup() local
690 struct spacc_aead *alg = to_spacc_aead(crypto_aead_alg(aead)); in spacc_aead_encrypt() local
698 struct spacc_aead *alg = to_spacc_aead(crypto_aead_alg(aead)); in spacc_aead_decrypt() local
710 struct aead_alg *alg = crypto_aead_alg(tfm); in spacc_aead_cra_init() local
[all …]
Dn2_core.c255 struct ahash_alg alg; member
260 struct crypto_alg *alg = tfm->__crt_alg; in n2_ahash_alg() local
275 struct crypto_alg *alg = tfm->__crt_alg; in n2_hmac_alg() local
705 struct crypto_alg alg; member
710 struct crypto_alg *alg = tfm->__crt_alg; in n2_cipher_alg() local
1346 struct n2_ahash_alg *alg, *alg_tmp; in __n2_unregister_algs() local
1375 struct crypto_alg *alg; in __n2_register_one_cipher() local
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.c106 struct ieee80211_crypto_alg *alg; in ieee80211_register_crypto_ops() local
138 struct ieee80211_crypto_alg *alg = in ieee80211_unregister_crypto_ops() local
169 struct ieee80211_crypto_alg *alg = in ieee80211_get_crypto_ops() local
231 struct ieee80211_crypto_alg *alg = in ieee80211_crypto_deinit() local
/drivers/crypto/nx/
Dnx.c526 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg()
532 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead()
538 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash()
546 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg()
552 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead()
558 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
/drivers/crypto/sunxi-ss/
Dsun4i-ss-prng.c7 struct rng_alg *alg = crypto_rng_alg(tfm); in sun4i_ss_prng_seed() local
19 struct rng_alg *alg = crypto_rng_alg(tfm); in sun4i_ss_prng_generate() local
Dsun4i-ss-hash.c24 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit() local
42 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init() local
/drivers/crypto/ccp/
Dccp-crypto-sha.c188 struct ccp_crypto_ahash_alg *alg = in ccp_sha_init() local
344 struct ccp_crypto_ahash_alg *alg = ccp_crypto_ahash_alg(tfm); in ccp_hmac_sha_cra_init() local
426 struct ahash_alg *alg; in ccp_register_hmac_alg() local
470 struct ahash_alg *alg; in ccp_register_sha_alg() local
Dccp-crypto.h39 struct crypto_alg alg; member
47 struct aead_alg alg; member
60 struct ahash_alg alg; member
66 struct akcipher_alg alg; member
72 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ablkcipher_alg() local
80 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg() local
Dccp-crypto-des3.c43 struct ccp_crypto_ablkcipher_alg *alg = in ccp_des3_setkey() local
207 struct crypto_alg *alg; in ccp_register_des3_alg() local
Dccp-crypto-aes-cmac.c263 struct ccp_crypto_ahash_alg *alg = in ccp_aes_cmac_setkey() local
373 struct ahash_alg *alg; in ccp_register_aes_cmac_algs() local
Dccp-crypto-aes.c45 struct ccp_crypto_ablkcipher_alg *alg = in ccp_aes_setkey() local
331 struct crypto_alg *alg; in ccp_register_aes_alg() local
/drivers/crypto/qat/qat_common/
Dqat_algs.c66 #define QAT_AES_HW_CONFIG_ENC(alg, mode) \ argument
71 #define QAT_AES_HW_CONFIG_DEC(alg, mode) \ argument
274 int alg, in qat_alg_aead_init_enc_session()
355 int alg, in qat_alg_aead_init_dec_session()
469 int alg, const uint8_t *key, in qat_alg_ablkcipher_init_enc()
482 int alg, const uint8_t *key, in qat_alg_ablkcipher_init_dec()
500 static int qat_alg_validate_key(int key_len, int *alg, int mode) in qat_alg_validate_key()
535 int alg; in qat_alg_aead_init_sessions() local
562 int alg; in qat_alg_ablkcipher_init_sessions() local
/drivers/crypto/caam/
Dcaamalg_qi.c66 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_set_sh_desc() local
554 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_edesc_alloc() local
2168 struct crypto_alg *alg = tfm->__crt_alg; in caam_cra_init() local
2178 struct aead_alg *alg = crypto_aead_alg(tfm); in caam_aead_init() local
2235 struct crypto_alg *alg; in caam_alg_alloc() local
2274 struct aead_alg *alg = &t_alg->aead; in caam_aead_alg_init() local
2336 struct caam_alg_template *alg = driver_algs + i; in caam_qi_algapi_init() local
Dcaamalg.c166 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_set_sh_desc() local
1031 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in init_authenc_job() local
3246 struct crypto_alg *alg = tfm->__crt_alg; in caam_cra_init() local
3256 struct aead_alg *alg = crypto_aead_alg(tfm); in caam_aead_init() local
3309 struct crypto_alg *alg; in caam_alg_alloc() local
3350 struct aead_alg *alg = &t_alg->aead; in caam_aead_alg_init() local
3415 struct caam_alg_template *alg = driver_algs + i; in caam_algapi_init() local
/drivers/staging/ccree/
Dssi_cipher.c181 struct crypto_alg *alg = tfm->__crt_alg; in ssi_blkcipher_init() local
1252 struct crypto_alg *alg; local
1313 int alg; local
/drivers/crypto/virtio/
Dvirtio_crypto_algs.c104 virtio_crypto_alg_validate_key(int key_len, uint32_t *alg) in virtio_crypto_alg_validate_key()
120 uint32_t alg, const uint8_t *key, in virtio_crypto_alg_ablkcipher_init_session()
275 uint32_t alg; in virtio_crypto_alg_ablkcipher_init_sessions() local
/drivers/crypto/amcc/
Dcrypto4xx_core.c985 struct crypto_alg *alg = tfm->__crt_alg; in crypto4xx_alg_init() local
1021 struct crypto4xx_alg *alg; in crypto4xx_register_alg() local
1054 struct crypto4xx_alg *alg, *tmp; in crypto4xx_unregister_alg() local
/drivers/crypto/bcm/
Dutil.c347 char *spu_alg_name(enum spu_cipher_alg alg, enum spu_cipher_mode mode) in spu_alg_name()
410 u32 alg; in spu_debugfs_read() local
Dcipher.h107 enum spu_cipher_alg alg; member
112 enum hash_alg alg; member
122 } alg; member
204 struct iproc_alg_s *alg; member
/drivers/crypto/vmx/
Daes.c40 const char *alg = crypto_tfm_alg_name(tfm); in p8_aes_init() local
Daes_ctr.c41 const char *alg = crypto_tfm_alg_name(tfm); in p8_aes_ctr_init() local
Daes_cbc.c42 const char *alg = crypto_tfm_alg_name(tfm); in p8_aes_cbc_init() local
/drivers/staging/media/davinci_vpfe/
Ddm365_ipipe.h49 enum vpfe_ipipe_otfdpc_alg alg; member
61 enum vpfe_ipipe_otfdpc_alg alg; member
/drivers/crypto/qce/
Dcipher.h58 struct crypto_alg *alg = tfm->__crt_alg; in to_cipher_tmpl() local
Dsha.h71 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl() local

1234