Lines Matching refs:crypto_alg
478 struct crypto_alg { struct
502 void (*cra_destroy)(struct crypto_alg *alg); argument
521 void crypto_stats_init(struct crypto_alg *alg); argument
522 void crypto_stats_get(struct crypto_alg *alg);
523 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
524 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
525 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg);
526 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg);
527 void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *alg);
528 void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *alg);
529 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg);
530 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg);
531 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg);
532 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg);
533 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret);
534 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret);
535 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret);
536 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret);
537 void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret);
538 void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, struct crypto_alg *alg);
539 void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, struct crypto_alg *alg);
541 static inline void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
543 static inline void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
545 static inline void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_encrypt()
547 static inline void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret) in crypto_stats_aead_decrypt()
549 static inline void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_update()
551 static inline void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg) in crypto_stats_ahash_final()
553 static inline void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *… in crypto_stats_akcipher_encrypt()
555 static inline void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *… in crypto_stats_akcipher_decrypt()
557 static inline void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign()
559 static inline void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify()
561 static inline void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress()
563 static inline void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress()
565 static inline void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret()
567 static inline void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key()
569 static inline void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret()
571 static inline void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed()
573 static inline void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret) in crypto_stats_rng_generate()
575 static inline void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, struct crypto_alg … in crypto_stats_skcipher_encrypt()
577 static inline void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, struct crypto_alg … in crypto_stats_skcipher_decrypt()
622 int crypto_register_alg(struct crypto_alg *alg);
623 void crypto_unregister_alg(struct crypto_alg *alg);
624 int crypto_register_algs(struct crypto_alg *algs, int count);
625 void crypto_unregister_algs(struct crypto_alg *algs, int count);
646 struct crypto_alg *__crt_alg;