Lines Matching refs:crypto_alg

469 struct crypto_alg {  struct
493 void (*cra_destroy)(struct crypto_alg *alg); argument
512 void crypto_stats_init(struct crypto_alg *alg); argument
513 void crypto_stats_get(struct crypto_alg *alg);
514 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
515 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
516 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg);
517 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg);
518 void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *alg);
519 void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *alg);
520 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg);
521 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg);
522 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg);
523 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg);
524 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret);
525 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret);
526 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret);
527 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret);
528 void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret);
529 void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, struct crypto_alg *alg);
530 void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, struct crypto_alg *alg);
532 static inline void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
534 static inline void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
536 static inline void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_encrypt()
538 static inline void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_decrypt()
540 static inline void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_update()
542 static inline void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_final()
544 static inline void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *… in crypto_stats_akcipher_encrypt()
546 static inline void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *… in crypto_stats_akcipher_decrypt()
548 static inline void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign()
550 static inline void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify()
552 static inline void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress()
554 static inline void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress()
556 static inline void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret()
558 static inline void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key()
560 static inline void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret()
562 static inline void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed()
564 static inline void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret) in crypto_stats_rng_generate()
566 static inline void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, struct crypto_alg in crypto_stats_skcipher_encrypt()
568 static inline void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, struct crypto_alg in crypto_stats_skcipher_decrypt()
613 int crypto_register_alg(struct crypto_alg *alg);
614 void crypto_unregister_alg(struct crypto_alg *alg);
615 int crypto_register_algs(struct crypto_alg *algs, int count);
616 void crypto_unregister_algs(struct crypto_alg *algs, int count);
637 struct crypto_alg *__crt_alg;