Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/linux/crypto/
H A Dapi.c47 void crypto_mod_put(struct crypto_alg *alg) in crypto_mod_put()
59 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
129 struct crypto_alg *alg; in crypto_larval_add() local
238 struct crypto_alg *alg; in crypto_alg_lookup() local
274 struct crypto_alg *alg; in crypto_larval_lookup() local
317 struct crypto_alg *alg; in crypto_alg_mod_lookup() local
381 void crypto_shoot_alg(struct crypto_alg *alg) in crypto_shoot_alg()
456 struct crypto_alg *alg; in crypto_alloc_base() local
546 struct crypto_alg *alg = otfm->__crt_alg; in crypto_clone_tfm() local
615 struct crypto_alg *alg; in crypto_alloc_tfm_node() local
[all …]
H A Dacompress.c26 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
37 struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report()
51 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_acomp_show()
59 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm() local
67 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm() local
86 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg) in crypto_acomp_extsize()
97 struct crypto_alg *alg) in __crypto_acomp_report_stat()
116 int crypto_acomp_report_stat(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report_stat()
185 void comp_prepare_alg(struct comp_alg_common *alg) in comp_prepare_alg()
196 int crypto_register_acomp(struct acomp_alg *alg) in crypto_register_acomp()
[all …]
H A Dkpp.c21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report()
35 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show()
43 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
51 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
70 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report_stat()
132 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg()
145 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp()
154 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
H A Daead.c23 static inline struct crypto_istat_aead *aead_get_stat(struct aead_alg *alg) in aead_get_stat()
107 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_encrypt() local
130 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_decrypt() local
155 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm() local
163 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm() local
179 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report()
198 static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) in crypto_aead_show()
219 struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report_stat()
272 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
294 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
[all …]
H A Dalgapi.c38 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
88 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
376 struct crypto_alg *alg; in crypto_alg_tested() local
443 struct crypto_alg *alg; in crypto_remove_final() local
453 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
495 void crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg()
727 struct crypto_alg *alg; in crypto_grab_spawn() local
777 struct crypto_alg *alg = ERR_PTR(-EAGAIN); in crypto_spawn_alg() local
803 struct crypto_alg *alg; in crypto_spawn_tfm() local
828 struct crypto_alg *alg; in crypto_spawn_tfm2() local
[all …]
H A Dinternal.h31 struct crypto_alg alg; member
99 static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg) in crypto_cipher_ctxsize()
104 static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg) in crypto_compress_ctxsize()
134 static inline void *crypto_create_tfm(struct crypto_alg *alg, in crypto_create_tfm()
161 static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get()
167 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put()
183 static inline int crypto_is_larval(struct crypto_alg *alg) in crypto_is_larval()
188 static inline int crypto_is_dead(struct crypto_alg *alg) in crypto_is_dead()
193 static inline int crypto_is_moribund(struct crypto_alg *alg) in crypto_is_moribund()
H A Drng.c33 struct rng_alg *alg = crypto_rng_alg(tfm); in crypto_rng_reset() local
65 static unsigned int seedsize(struct crypto_alg *alg) in seedsize()
73 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report()
88 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show()
95 struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report_stat()
200 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng()
219 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng()
H A Dcrypto_user_base.c38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local
72 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
88 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
99 static int crypto_report_one(struct crypto_alg *alg, in crypto_report_one()
154 static int crypto_report_alg(struct crypto_alg *alg, in crypto_report_alg()
189 struct crypto_alg *alg; in crypto_report() local
229 struct crypto_alg *alg; in crypto_dump_report() local
263 struct crypto_alg *alg; in crypto_update_alg() local
299 struct crypto_alg *alg; in crypto_del_alg() local
339 struct crypto_alg *alg; in crypto_add_alg() local
[all …]
H A Dahash.c305 struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in crypto_ahash_final() local
317 struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in crypto_ahash_finup() local
417 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() local
425 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() local
469 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report()
496 struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report_stat()
547 struct ahash_alg *alg; in crypto_clone_ahash() local
594 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg()
612 int crypto_register_ahash(struct ahash_alg *alg) in crypto_register_ahash()
625 void crypto_unregister_ahash(struct ahash_alg *alg) in crypto_unregister_ahash()
[all …]
H A Dakcipher.c24 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report()
39 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show()
47 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local
55 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local
74 struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report_stat()
132 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg()
156 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher()
176 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
H A Dcrypto_engine.c77 struct crypto_engine_alg *alg; in crypto_pump_requests() local
572 int crypto_engine_register_aead(struct aead_engine_alg *alg) in crypto_engine_register_aead()
583 void crypto_engine_unregister_aead(struct aead_engine_alg *alg) in crypto_engine_unregister_aead()
617 int crypto_engine_register_ahash(struct ahash_engine_alg *alg) in crypto_engine_register_ahash()
628 void crypto_engine_unregister_ahash(struct ahash_engine_alg *alg) in crypto_engine_unregister_ahash()
663 int crypto_engine_register_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_register_akcipher()
674 void crypto_engine_unregister_akcipher(struct akcipher_engine_alg *alg) in crypto_engine_unregister_akcipher()
680 int crypto_engine_register_kpp(struct kpp_engine_alg *alg) in crypto_engine_register_kpp()
691 void crypto_engine_unregister_kpp(struct kpp_engine_alg *alg) in crypto_engine_unregister_kpp()
697 int crypto_engine_register_skcipher(struct skcipher_engine_alg *alg) in crypto_engine_register_skcipher()
[all …]
H A Dcrypto_user_stat.c27 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher()
38 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp()
49 static int crypto_reportstat_one(struct crypto_alg *alg, in crypto_reportstat_one()
106 static int crypto_reportstat_alg(struct crypto_alg *alg, in crypto_reportstat_alg()
141 struct crypto_alg *alg; in crypto_reportstat() local
H A Dshash.c29 static inline int crypto_shash_errstat(struct shash_alg *alg, int err) in crypto_shash_errstat()
412 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async() local
469 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_exit_tfm() local
477 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_shash_init_tfm() local
512 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report()
539 struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report_stat()
588 struct shash_alg *alg = crypto_shash_alg(hash); in crypto_clone_shash() local
621 int hash_prepare_alg(struct hash_alg_common *alg) in hash_prepare_alg()
637 static int shash_prepare_alg(struct shash_alg *alg) in shash_prepare_alg()
673 int crypto_register_shash(struct shash_alg *alg) in crypto_register_shash()
[all …]
H A Dskcipher.c84 struct crypto_alg *alg) in __crypto_skcipher_alg()
90 struct skcipher_alg *alg) in skcipher_get_stat()
640 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_encrypt() local
662 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in crypto_skcipher_decrypt() local
684 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm() local
692 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm() local
731 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report()
751 struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report_stat()
837 static int skcipher_prepare_alg(struct skcipher_alg *alg) in skcipher_prepare_alg()
861 int crypto_register_skcipher(struct skcipher_alg *alg) in crypto_register_skcipher()
[all …]
/openbmc/qemu/crypto/
H A Dhash.c35 size_t qcrypto_hash_digest_len(QCryptoHashAlgorithm alg) in qcrypto_hash_digest_len()
41 int qcrypto_hash_bytesv(QCryptoHashAlgorithm alg, in qcrypto_hash_bytesv()
68 int qcrypto_hash_bytes(QCryptoHashAlgorithm alg, in qcrypto_hash_bytes()
82 int qcrypto_hash_digestv(QCryptoHashAlgorithm alg, in qcrypto_hash_digestv()
106 int qcrypto_hash_digest(QCryptoHashAlgorithm alg, in qcrypto_hash_digest()
117 int qcrypto_hash_base64v(QCryptoHashAlgorithm alg, in qcrypto_hash_base64v()
135 int qcrypto_hash_base64(QCryptoHashAlgorithm alg, in qcrypto_hash_base64()
H A Dhash-afalg.c23 qcrypto_afalg_hash_format_name(QCryptoHashAlgorithm alg, in qcrypto_afalg_hash_format_name()
68 qcrypto_afalg_hash_hmac_ctx_new(QCryptoHashAlgorithm alg, in qcrypto_afalg_hash_hmac_ctx_new()
102 qcrypto_afalg_hash_ctx_new(QCryptoHashAlgorithm alg, in qcrypto_afalg_hash_ctx_new()
109 qcrypto_afalg_hmac_ctx_new(QCryptoHashAlgorithm alg, in qcrypto_afalg_hmac_ctx_new()
118 QCryptoHashAlgorithm alg, in qcrypto_afalg_hash_hmac_bytesv()
176 qcrypto_afalg_hash_bytesv(QCryptoHashAlgorithm alg, in qcrypto_afalg_hash_bytesv()
H A Dcipher.c66 size_t qcrypto_cipher_get_block_len(QCryptoCipherAlgorithm alg) in qcrypto_cipher_get_block_len()
73 size_t qcrypto_cipher_get_key_len(QCryptoCipherAlgorithm alg) in qcrypto_cipher_get_key_len()
80 size_t qcrypto_cipher_get_iv_len(QCryptoCipherAlgorithm alg, in qcrypto_cipher_get_iv_len()
98 qcrypto_cipher_validate_key_length(QCryptoCipherAlgorithm alg, in qcrypto_cipher_validate_key_length()
145 QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg, in qcrypto_cipher_new()
/openbmc/linux/include/crypto/
H A Dakcipher.h167 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
300 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local
306 struct akcipher_alg *alg) in akcipher_get_stat()
315 static inline int crypto_akcipher_errstat(struct akcipher_alg *alg, int err) in crypto_akcipher_errstat()
339 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local
364 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local
425 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local
450 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local
475 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local
497 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
H A Dkpp.h138 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
294 static inline struct crypto_istat_kpp *kpp_get_stat(struct kpp_alg *alg) in kpp_get_stat()
303 static inline int crypto_kpp_errstat(struct kpp_alg *alg, int err) in crypto_kpp_errstat()
332 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_set_secret() local
356 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_generate_public_key() local
377 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_compute_shared_secret() local
397 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_maxsize() local
H A Drng.h118 static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) in __crypto_rng_alg()
147 static inline struct crypto_istat_rng *rng_get_stat(struct rng_alg *alg) in rng_get_stat()
156 static inline int crypto_rng_errstat(struct rng_alg *alg, int err) in crypto_rng_errstat()
185 struct rng_alg *alg = crypto_rng_alg(tfm); in crypto_rng_generate() local
H A Dacompress.h136 struct crypto_alg *alg) in __crypto_comp_alg_common()
259 struct comp_alg_common *alg) in comp_get_stat()
268 static inline int crypto_comp_errstat(struct comp_alg_common *alg, int err) in crypto_comp_errstat()
291 struct comp_alg_common *alg; in crypto_acomp_compress() local
317 struct comp_alg_common *alg; in crypto_acomp_decompress() local
/openbmc/linux/fs/verity/
H A Dhash_algs.c45 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
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c29 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_init_tfm() local
123 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_final() local
166 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_finup() local
194 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ce_hash_digest_fb() local
209 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_need_fallback() local
242 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest() local
334 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run() local
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c115 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_init_tfm() local
211 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_final() local
255 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_finup() local
284 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest_fb() local
360 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_need_fallback() local
410 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest() local
496 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_run() local
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A 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

12345678910>>...12