Home
last modified time | relevance | path

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

12345

/linux/crypto/
H A Dapi.c43 struct crypto_alg *crypto_mod_get(struct crypto_alg *alg) in crypto_mod_get()
49 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
62 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
94 static void crypto_larval_destroy(struct crypto_alg *alg) in crypto_larval_destroy()
129 struct crypto_alg *alg; in crypto_larval_add() local
201 static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg, in crypto_larval_wait()
257 struct crypto_alg *alg; in crypto_alg_lookup() local
293 struct crypto_alg *alg; in crypto_larval_lookup() local
340 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
379 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) in crypto_ctxsize()
[all …]
H A Dsimd.c43 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
H A Dalgboss.c46 char alg[CRYPTO_MAX_ALG_NAME]; member
187 static int cryptomgr_schedule_test(struct crypto_alg *alg) in cryptomgr_schedule_test()
/linux/scripts/crypto/
H A Dgen-hash-testvecs.py82 def hash_init(alg): argument
97 def compute_hash(alg, data): argument
118 def alg_digest_size_const(alg): argument
123 def gen_unkeyed_testvecs(alg): argument
157 def gen_hmac_testvecs(alg): argument
170 def gen_additional_blake2_testvecs(alg): argument
252 alg = sys.argv[1] variable
/linux/drivers/crypto/allwinner/sun8i-ss/
H 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
/linux/lib/crypto/tests/
H A Dsha3_kunit.c250 static void shake(int alg, const u8 *in, size_t in_len, u8 *out, size_t out_len) in shake()
258 static void shake_init(struct shake_ctx *ctx, int alg) in shake_init()
283 for (int alg = 0; alg < 2; alg++) { in test_shake_all_lens_up_to_4096() local
320 const int alg = rand32() % 2; in test_shake_multiple_squeezes() local
378 for (int alg = 0; alg < 2; alg++) { in test_shake_with_guarded_bufs() local
/linux/fs/verity/
H A Dhash_algs.c55 fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state()
137 void fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer()
161 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
/linux/drivers/crypto/hisilicon/sec/
H 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
/linux/drivers/net/wireless/intel/ipw2x00/
H 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
/linux/drivers/crypto/ccp/
H 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
H 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
H 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
/linux/drivers/crypto/gemini/
H 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
/linux/drivers/crypto/allwinner/sun4i-ss/
H 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
H 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
/linux/drivers/crypto/rockchip/
H 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
437 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_tfm_init() local
/linux/drivers/crypto/amlogic/
H 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
/linux/include/crypto/
H A Dalgapi.h60 struct crypto_alg alg; member
89 struct crypto_alg *alg; member
167 #define crypto_inst_setname_1(inst, name, alg) \ argument
169 #define crypto_inst_setname_2(inst, name, driver, alg) \ argument
/linux/net/ipv4/
H A Dtcp_sigpool.c24 const char *alg; member
120 static int __cpool_alloc_ahash(struct sigpool_entry *e, const char *alg) in __cpool_alloc_ahash() argument
157 int tcp_sigpool_alloc_ahash(const char *alg, size_ argument
[all...]
/linux/drivers/crypto/virtio/
H 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
/linux/drivers/mmc/host/
H A Dcqhci-crypto.c16 enum cqhci_crypto_alg alg; member
62 const struct cqhci_crypto_alg_entry *alg = in cqhci_crypto_keyslot_program() local
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_core.c908 struct skcipher_alg *alg = crypto_skcipher_alg(sk); in crypto4xx_sk_init() local
941 struct aead_alg *alg = crypto_aead_alg(tfm); in crypto4xx_aead_init() local
971 struct crypto4xx_alg *alg; in crypto4xx_register_alg() local
1008 struct crypto4xx_alg *alg, *tmp; in crypto4xx_unregister_alg() local
1121 struct rng_alg *alg = crypto_rng_alg(tfm); in crypto4xx_prng_generate() local
/linux/drivers/crypto/tegra/
H 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
/linux/include/crypto/internal/
H A Daead.h25 struct aead_alg alg; member
139 static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg) in crypto_aead_alg_chunksize()
/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py204 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

12345