Lines Matching refs:NX_FC_AES

412 				if (msc->fc == NX_FC_AES) {  in nx_of_update_msc()
577 rc = nx_register_skcipher(&nx_ecb_aes_alg, NX_FC_AES, NX_MODE_AES_ECB); in nx_register_algs()
581 rc = nx_register_skcipher(&nx_cbc_aes_alg, NX_FC_AES, NX_MODE_AES_CBC); in nx_register_algs()
585 rc = nx_register_skcipher(&nx_ctr3686_aes_alg, NX_FC_AES, in nx_register_algs()
590 rc = nx_register_aead(&nx_gcm_aes_alg, NX_FC_AES, NX_MODE_AES_GCM); in nx_register_algs()
594 rc = nx_register_aead(&nx_gcm4106_aes_alg, NX_FC_AES, NX_MODE_AES_GCM); in nx_register_algs()
598 rc = nx_register_aead(&nx_ccm_aes_alg, NX_FC_AES, NX_MODE_AES_CCM); in nx_register_algs()
602 rc = nx_register_aead(&nx_ccm4309_aes_alg, NX_FC_AES, NX_MODE_AES_CCM); in nx_register_algs()
617 NX_FC_AES, NX_MODE_AES_XCBC_MAC, -1); in nx_register_algs()
630 nx_unregister_aead(&nx_ccm4309_aes_alg, NX_FC_AES, NX_MODE_AES_CCM); in nx_register_algs()
632 nx_unregister_aead(&nx_ccm_aes_alg, NX_FC_AES, NX_MODE_AES_CCM); in nx_register_algs()
634 nx_unregister_aead(&nx_gcm4106_aes_alg, NX_FC_AES, NX_MODE_AES_GCM); in nx_register_algs()
636 nx_unregister_aead(&nx_gcm_aes_alg, NX_FC_AES, NX_MODE_AES_GCM); in nx_register_algs()
638 nx_unregister_skcipher(&nx_ctr3686_aes_alg, NX_FC_AES, NX_MODE_AES_CTR); in nx_register_algs()
640 nx_unregister_skcipher(&nx_cbc_aes_alg, NX_FC_AES, NX_MODE_AES_CBC); in nx_register_algs()
642 nx_unregister_skcipher(&nx_ecb_aes_alg, NX_FC_AES, NX_MODE_AES_ECB); in nx_register_algs()
698 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ccm_init()
705 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_gcm_init()
711 return nx_crypto_ctx_init(crypto_skcipher_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ctr_init()
717 return nx_crypto_ctx_init(crypto_skcipher_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_cbc_init()
723 return nx_crypto_ctx_init(crypto_skcipher_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ecb_init()
734 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_xcbc_init()
796 NX_FC_AES, NX_MODE_AES_XCBC_MAC, -1); in nx_remove()
802 NX_FC_AES, NX_MODE_AES_CCM); in nx_remove()
803 nx_unregister_aead(&nx_ccm_aes_alg, NX_FC_AES, NX_MODE_AES_CCM); in nx_remove()
805 NX_FC_AES, NX_MODE_AES_GCM); in nx_remove()
807 NX_FC_AES, NX_MODE_AES_GCM); in nx_remove()
809 NX_FC_AES, NX_MODE_AES_CTR); in nx_remove()
810 nx_unregister_skcipher(&nx_cbc_aes_alg, NX_FC_AES, in nx_remove()
812 nx_unregister_skcipher(&nx_ecb_aes_alg, NX_FC_AES, in nx_remove()