Lines Matching refs:crypto_alg
550 struct crypto_alg { struct
576 void (*cra_destroy)(struct crypto_alg *alg); argument
595 void crypto_stats_init(struct crypto_alg *alg); argument
596 void crypto_stats_get(struct crypto_alg *alg);
597 void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg *alg);
598 void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg *alg);
599 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
600 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
601 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg);
602 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg);
603 void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *alg);
604 void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *alg);
605 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg);
606 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg);
607 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg);
608 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg);
609 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret);
610 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret);
611 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret);
612 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret);
613 void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret);
614 void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, struct crypto_alg *alg);
615 void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, struct crypto_alg *alg);
617 static inline void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
619 static inline void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
621 static inline void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg … in crypto_stats_ablkcipher_encrypt()
623 static inline void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg … in crypto_stats_ablkcipher_decrypt()
625 static inline void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_encrypt()
627 static inline void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_decrypt()
629 static inline void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_update()
631 static inline void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_final()
633 static inline void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *… in crypto_stats_akcipher_encrypt()
635 static inline void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *… in crypto_stats_akcipher_decrypt()
637 static inline void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign()
639 static inline void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify()
641 static inline void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress()
643 static inline void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress()
645 static inline void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret()
647 static inline void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key()
649 static inline void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret()
651 static inline void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed()
653 static inline void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret) in crypto_stats_rng_generate()
655 static inline void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, struct crypto_alg … in crypto_stats_skcipher_encrypt()
657 static inline void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, struct crypto_alg … in crypto_stats_skcipher_decrypt()
702 int crypto_register_alg(struct crypto_alg *alg);
703 int crypto_unregister_alg(struct crypto_alg *alg);
704 int crypto_register_algs(struct crypto_alg *algs, int count);
705 int crypto_unregister_algs(struct crypto_alg *algs, int count);
774 struct crypto_alg *__crt_alg;
1093 struct crypto_alg *alg = crt->base->base.__crt_alg; in crypto_ablkcipher_encrypt()
1118 struct crypto_alg *alg = crt->base->base.__crt_alg; in crypto_ablkcipher_decrypt()