Home
last modified time | relevance | path

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

12345

/drivers/crypto/tegra/
A Dtegra-se-key.c52 const u32 *key, u32 keylen, u16 slot, u32 alg) in tegra_key_prep_ins_cmd()
115 u32 keylen, u16 slot, u32 alg) in tegra_key_insert()
131 void tegra_key_invalidate(struct tegra_se *se, u32 keyid, u32 alg) in tegra_key_invalidate()
144 void tegra_key_invalidate_reserved(struct tegra_se *se, u32 keyid, u32 alg) in tegra_key_invalidate_reserved()
156 u32 keylen, u32 alg, u32 *keyid) in tegra_key_submit_reserved()
161 int tegra_key_submit(struct tegra_se *se, const u8 *key, u32 keylen, u32 alg, u32 *keyid) in tegra_key_submit()
A Dtegra-se-hash.c26 unsigned int alg; member
38 unsigned int alg; member
48 static int tegra_sha_get_config(u32 alg) in tegra_sha_get_config()
583 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in tegra_sha_cra_init() local
1083 static int tegra_hash_kac_manifest(u32 user, u32 alg, u32 keylen) in tegra_hash_kac_manifest()
1118 struct ahash_engine_alg *alg; in tegra_init_hash() local
A Dtegra-se-aes.c27 u32 alg; member
48 u32 alg; member
72 unsigned int alg; member
132 static int tegra234_aes_crypto_cfg(u32 alg, bool encrypt) in tegra234_aes_crypto_cfg()
168 static int tegra234_aes_cfg(u32 alg, bool encrypt) in tegra234_aes_cfg()
344 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in tegra_aes_cra_init() local
432 static int tegra_aes_kac_manifest(u32 user, u32 alg, u32 keylen) in tegra_aes_kac_manifest()
1358 struct aead_alg *alg = crypto_aead_alg(tfm); in tegra_aead_cra_init() local
1776 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in tegra_cmac_cra_init() local
/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-hash.c98 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_init_tfm() local
201 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_final() local
244 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_finup() local
272 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest_fb() local
348 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_need_fallback() local
398 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest() local
484 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_run() local
A Dsun8i-ss-cipher.c26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_need_fallback() local
97 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher_fallback() local
189 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ss_cipher() local
393 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init() local
/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-hash.c30 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_stat_fb_inc() local
41 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_init_tfm() local
200 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_need_fallback() local
241 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest() local
323 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run() local
A Dsun8i-ce-cipher.c28 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_need_fallback() local
113 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_fallback() local
141 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun8i_ce_cipher_prepare() local
436 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ce_cipher_init() local
/drivers/crypto/nx/
A Dnx.c491 static int nx_register_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_register_skcipher()
497 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead()
503 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash()
511 static void nx_unregister_skcipher(struct skcipher_alg *alg, u32 fc, u32 mode) in nx_unregister_skcipher()
517 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead()
523 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash()
/drivers/crypto/hisilicon/sec/
A 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/intel/qat/qat_common/
A Dqat_algs.c28 #define QAT_AES_HW_CONFIG_ENC(alg, mode) \ argument
33 #define QAT_AES_HW_CONFIG_DEC(alg, mode) \ argument
38 #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/net/wireless/intel/ipw2x00/
A Dlibipw_crypto.c160 struct libipw_crypto_alg *alg; in libipw_register_crypto_ops() local
181 struct libipw_crypto_alg *alg; in libipw_unregister_crypto_ops() local
204 struct libipw_crypto_alg *alg; in libipw_get_crypto_ops() local
/drivers/crypto/ccp/
A 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
A 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
A Dccp-crypto-des3.c41 struct ccp_crypto_skcipher_alg *alg = ccp_crypto_skcipher_alg(tfm); in ccp_des3_setkey() local
182 struct skcipher_alg *alg; in ccp_register_des3_alg() local
/drivers/crypto/gemini/
A Dsl3516-ce-cipher.c108 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher_fallback() local
133 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher() local
320 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sl3516_ce_cipher_init() local
/drivers/crypto/rockchip/
A Drk3288_crypto_skcipher.c26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_need_fallback() local
73 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_fallback() local
313 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_run() local
438 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_tfm_init() local
A Drk3288_crypto_ahash.c49 struct ahash_alg *alg = crypto_ahash_alg(tfm); in rk_ahash_digest_fb() local
265 struct ahash_alg *alg = crypto_ahash_alg(tfm); in rk_hash_run() local
350 struct ahash_alg *alg = crypto_ahash_alg(tfm); in rk_hash_init_tfm() local
/drivers/crypto/xilinx/
A Dzynqmp-aes-gcm.c48 } alg; member
288 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_encrypt() local
301 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_decrypt() local
316 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_init() local
/drivers/crypto/amlogic/
A 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
316 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init() local
/drivers/crypto/allwinner/sun4i-ss/
A 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
A 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
/drivers/crypto/virtio/
A Dvirtio_crypto_skcipher_algs.c95 virtio_crypto_alg_validate_key(int key_len, uint32_t *alg) in virtio_crypto_alg_validate_key()
111 uint32_t alg, const uint8_t *key, in virtio_crypto_alg_skcipher_init_session()
251 uint32_t alg; in virtio_crypto_alg_skcipher_init_sessions() local
284 uint32_t alg; in virtio_crypto_skcipher_setkey() local
/drivers/crypto/amcc/
A Dcrypto4xx_core.c909 struct skcipher_alg *alg = crypto_skcipher_alg(sk); in crypto4xx_sk_init() local
942 struct aead_alg *alg = crypto_aead_alg(tfm); in crypto4xx_aead_init() local
972 struct crypto4xx_alg *alg; in crypto4xx_register_alg() local
1009 struct crypto4xx_alg *alg, *tmp; in crypto4xx_unregister_alg() local
1122 struct rng_alg *alg = crypto_rng_alg(tfm); in crypto4xx_prng_generate() local
/drivers/mmc/host/
A Dcqhci-crypto.c16 enum cqhci_crypto_alg alg; member
62 const struct cqhci_crypto_alg_entry *alg = in cqhci_crypto_keyslot_program() local
/drivers/crypto/caam/
A Dcaamalg_qi.c87 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_set_sh_desc() local
626 struct caam_skcipher_alg *alg = in skcipher_setkey() local
946 struct caam_aead_alg *alg = container_of(crypto_aead_alg(aead), in aead_edesc_alloc() local
2507 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in caam_cra_init() local
2540 struct aead_alg *alg = crypto_aead_alg(tfm); in caam_aead_init() local
2594 struct skcipher_alg *alg = &t_alg->skcipher; in caam_skcipher_alg_init() local
2608 struct aead_alg *alg = &t_alg->aead; in caam_aead_alg_init() local

Completed in 821 milliseconds

12345