/linux/crypto/ |
H A D | scompress.c | 49 struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() 64 static void crypto_scomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_scomp_show() 124 struct scomp_alg *alg = crypto_scomp_alg(__crypto_scomp_tfm(tfm)); in crypto_scomp_init_tfm() local 328 static void crypto_scomp_destroy(struct crypto_alg *alg) in crypto_scomp_destroy() 352 static void scomp_prepare_alg(struct scomp_alg *alg) in scomp_prepare_alg() 361 int crypto_register_scomp(struct scomp_alg *alg) in crypto_register_scomp() 374 void crypto_unregister_scomp(struct scomp_alg *alg) in crypto_unregister_scomp()
|
H A D | ahash.c | 299 static void ahash_set_needkey(struct crypto_ahash *tfm, struct ahash_alg *alg) in ahash_set_needkey() 321 struct ahash_alg *alg = crypto_ahash_alg(tfm); in crypto_ahash_setkey() local 699 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local 713 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local 770 static unsigned int crypto_ahash_extsize(struct crypto_alg *alg) in crypto_ahash_extsize() 786 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() 802 static void crypto_ahash_show(struct seq_file *m, struct crypto_alg *alg) in crypto_ahash_show() 853 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey() local 868 struct ahash_alg *alg; in crypto_clone_ahash() local 942 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg() [all …]
|
H A D | simd.c | 43 struct skcipher_alg alg; member 116 struct skcipher_alg *alg; in simd_skcipher_init() local 145 struct skcipher_alg *alg; in simd_skcipher_create_compat() local 261 struct aead_alg alg; member 342 struct aead_alg *alg; in simd_aead_init() local 370 struct aead_alg *alg; in simd_aead_create_compat() local
|
/linux/fs/verity/ |
H A D | hash_algs.c | 45 struct fsverity_hash_alg *alg; in fsverity_get_hash_alg() local 111 const u8 *fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state() 209 int fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer() 224 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
|
/linux/include/crypto/internal/ |
H A D | hash.h | 41 struct ahash_alg alg; member 52 struct shash_alg alg; member 75 static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg) in crypto_shash_alg_has_setkey() 82 static inline bool crypto_shash_alg_needs_key(struct shash_alg *alg) in crypto_shash_alg_needs_key() 88 static inline bool crypto_hash_alg_needs_key(struct hash_alg_common *alg) in crypto_hash_alg_needs_key() 146 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
|
H A D | aead.h | 25 struct aead_alg alg; member 139 static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg) in crypto_aead_alg_chunksize()
|
/linux/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 128 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
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_crypto.c | 160 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
|
/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 187 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
|
H A D | ccp-crypto.h | 41 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
|
H A D | ccp-crypto-aes-cmac.c | 260 struct ccp_crypto_ahash_alg *alg = in ccp_aes_cmac_setkey() local 352 struct ahash_alg *alg; in ccp_register_aes_cmac_algs() local
|
/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-prng.c | 8 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
|
H A D | sun4i-ss-hash.c | 21 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
|
H A D | sun4i-ss-cipher.c | 38 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_opti_poll() local 154 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll_fallback() local 186 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll() local
|
/linux/drivers/crypto/gemini/ |
H A D | sl3516-ce-cipher.c | 108 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
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs.c | 28 #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
|
/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_skcipher.c | 26 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
|
/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 65 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
|
/linux/net/ipv4/ |
H A D | tcp_sigpool.c | 24 const char *alg; member 120 static int __cpool_alloc_ahash(struct sigpool_entry *e, const char *alg) in __cpool_alloc_ahash() 157 int tcp_sigpool_alloc_ahash(const char *alg, size_t scratch_size) in tcp_sigpool_alloc_ahash()
|
/linux/drivers/mmc/host/ |
H A D | cqhci-crypto.c | 16 enum cqhci_crypto_alg alg; member 62 const struct cqhci_crypto_alg_entry *alg = in cqhci_crypto_keyslot_program() local
|
/linux/drivers/crypto/tegra/ |
H A D | tegra-se-aes.c | 27 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
|
/linux/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 204 def __init__(self, alg): argument 220 def __init__(self, alg): argument 325 def get_digest_size(alg): argument 332 def get_hash_function(alg): argument
|
/linux/drivers/crypto/caam/ |
H A D | caamalg_qi.c | 87 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
|
/linux/security/ipe/ |
H A D | digest.h | 15 const char *alg; member
|
H A D | digest.c | 28 char *alg = NULL; in ipe_digest_parse() local
|