Home
last modified time | relevance | path

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

12345

/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c25 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ce_hash_crainit() local
118 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_final() local
156 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_finup() local
181 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest_fb() local
221 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest() local
255 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run() local
Dsun8i-ce-cipher.c60 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_fallback() local
86 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_prepare() local
383 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ce_cipher_init() local
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c25 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ss_hash_crainit() local
118 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_final() local
156 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_finup() local
181 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest_fb() local
286 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest() local
323 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_run() local
Dsun8i-ss-cipher.c78 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher_fallback() local
165 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher() local
373 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init() local
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.c101 struct ieee80211_crypto_alg *alg; in ieee80211_register_crypto_ops() local
133 struct ieee80211_crypto_alg *alg = in ieee80211_unregister_crypto_ops() local
164 struct ieee80211_crypto_alg *alg = in ieee80211_get_crypto_ops() local
226 struct ieee80211_crypto_alg *alg = in ieee80211_crypto_deinit() local
/drivers/crypto/nx/
Dnx.c515 static int nx_register_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_register_skcipher()
521 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead()
527 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash()
535 static void nx_unregister_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_unregister_skcipher()
541 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead()
547 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
/drivers/crypto/hisilicon/sec/
Dsec_algs.c128 enum sec_cipher_alg alg) in sec_alg_skcipher_init_template()
145 enum sec_cipher_alg alg) in sec_alg_skcipher_init_context()
229 enum sec_cipher_alg alg) in sec_alg_skcipher_setkey()
256 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_ecb() local
278 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_cbc() local
300 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_ctr() local
322 enum sec_cipher_alg alg; in sec_alg_skcipher_setkey_aes_xts() local
/drivers/crypto/ccp/
Dccp-crypto-sha.c187 struct ccp_crypto_ahash_alg *alg = in ccp_sha_init() local
334 struct ccp_crypto_ahash_alg *alg = ccp_crypto_ahash_alg(tfm); in ccp_hmac_sha_cra_init() local
416 struct ahash_alg *alg; in ccp_register_hmac_alg() local
460 struct ahash_alg *alg; in ccp_register_sha_alg() local
Dccp-crypto.h41 struct skcipher_alg alg; member
49 struct aead_alg alg; member
62 struct ahash_alg alg; member
68 struct akcipher_alg alg; member
74 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in ccp_crypto_skcipher_alg() local
82 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg() local
Dccp-crypto-des3.c39 struct ccp_crypto_skcipher_alg *alg = ccp_crypto_skcipher_alg(tfm); in ccp_des3_setkey() local
183 struct skcipher_alg *alg; in ccp_register_des3_alg() local
Dccp-crypto-aes-cmac.c260 struct ccp_crypto_ahash_alg *alg = in ccp_aes_cmac_setkey() local
351 struct ahash_alg *alg; in ccp_register_aes_cmac_algs() local
Dccp-crypto-aes.c40 struct ccp_crypto_skcipher_alg *alg = ccp_crypto_skcipher_alg(tfm); in ccp_aes_setkey() local
313 struct skcipher_alg *alg; in ccp_register_aes_alg() local
/drivers/crypto/gemini/
Dsl3516-ce-cipher.c104 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher_fallback() local
129 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher() local
316 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sl3516_ce_cipher_init() local
/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-prng.c8 struct rng_alg *alg = crypto_rng_alg(tfm); in sun4i_ss_prng_seed() local
20 struct rng_alg *alg = crypto_rng_alg(tfm); in sun4i_ss_prng_generate() local
Dsun4i-ss-hash.c21 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit() local
51 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init() local
194 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash() local
Dsun4i-ss-cipher.c39 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_opti_poll() local
157 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll_fallback() local
189 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll() local
/drivers/crypto/qat/qat_common/
Dqat_algs.c27 #define QAT_AES_HW_CONFIG_ENC(alg, mode) \ argument
32 #define QAT_AES_HW_CONFIG_DEC(alg, mode) \ argument
37 #define QAT_AES_HW_CONFIG_DEC_NO_CONV(alg, mode) \ argument
237 int alg, in qat_alg_aead_init_enc_session()
318 int alg, in qat_alg_aead_init_dec_session()
452 int alg, const u8 *key, in qat_alg_skcipher_init_enc()
487 int alg, const u8 *key, in qat_alg_skcipher_init_dec()
515 static int qat_alg_validate_key(int key_len, int *alg, int mode) in qat_alg_validate_key()
550 int alg; in qat_alg_aead_init_sessions() local
579 int alg; in qat_alg_skcipher_init_sessions() local
/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c65 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in meson_cipher_do_fallback() local
90 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in meson_cipher() local
317 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init() local
/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c47 } alg; member
285 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_encrypt() local
298 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_decrypt() local
313 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_init() local
/drivers/crypto/virtio/
Dvirtio_crypto_algs.c100 virtio_crypto_alg_validate_key(int key_len, uint32_t *alg) in virtio_crypto_alg_validate_key()
116 uint32_t alg, const uint8_t *key, in virtio_crypto_alg_skcipher_init_session()
269 uint32_t alg; in virtio_crypto_alg_skcipher_init_sessions() local
302 uint32_t alg; in virtio_crypto_skcipher_setkey() local
/drivers/mmc/host/
Dcqhci-crypto.c16 enum cqhci_crypto_alg alg; member
69 const struct cqhci_crypto_alg_entry *alg = in cqhci_crypto_keyslot_program() local
/drivers/crypto/amcc/
Dcrypto4xx_core.c945 struct skcipher_alg *alg = crypto_skcipher_alg(sk); in crypto4xx_sk_init() local
978 struct aead_alg *alg = crypto_aead_alg(tfm); in crypto4xx_aead_init() local
1008 struct crypto4xx_alg *alg; in crypto4xx_register_alg() local
1049 struct crypto4xx_alg *alg, *tmp; in crypto4xx_unregister_alg() local
1166 struct rng_alg *alg = crypto_rng_alg(tfm); in crypto4xx_prng_generate() local
/drivers/crypto/caam/
Dcaamalg_qi.c82 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_set_sh_desc() local
621 struct caam_skcipher_alg *alg = in skcipher_setkey() local
941 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_edesc_alloc() local
2491 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in caam_cra_init() local
2524 struct aead_alg *alg = crypto_aead_alg(tfm); in caam_aead_init() local
2578 struct skcipher_alg *alg = &t_alg->skcipher; in caam_skcipher_alg_init() local
2592 struct aead_alg *alg = &t_alg->aead; in caam_aead_alg_init() local
Dcaamalg.c184 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_set_sh_desc() local
734 struct caam_skcipher_alg *alg = in skcipher_setkey() local
1186 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in init_authenc_job() local
3398 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in caam_cra_init() local
3435 struct aead_alg *alg = crypto_aead_alg(tfm); in caam_aead_init() local
3491 struct skcipher_alg *alg = &t_alg->skcipher; in caam_skcipher_alg_init() local
3505 struct aead_alg *alg = &t_alg->aead; in caam_aead_alg_init() local
/drivers/crypto/ccree/
Dcc_cipher.c35 enum cc_cpp_alg alg; member
234 struct crypto_alg *alg = tfm->__crt_alg; in cc_cipher_exit() local
1420 struct skcipher_alg *alg; in cc_create_alg() local
1466 int alg; in cc_cipher_alloc() local

12345