Lines Matching refs:alg
527 static int nx_register_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_register_alg() argument
530 crypto_register_alg(alg) : 0; in nx_register_alg()
533 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead() argument
536 crypto_register_aead(alg) : 0; in nx_register_aead()
539 static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot) in nx_register_shash() argument
544 crypto_register_shash(alg) : 0; in nx_register_shash()
547 static void nx_unregister_alg(struct crypto_alg *alg, u32 fc, u32 mode) in nx_unregister_alg() argument
550 crypto_unregister_alg(alg); in nx_unregister_alg()
553 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead() argument
556 crypto_unregister_aead(alg); in nx_unregister_aead()
559 static void nx_unregister_shash(struct shash_alg *alg, u32 fc, u32 mode, in nx_unregister_shash() argument
564 crypto_unregister_shash(alg); in nx_unregister_shash()