Lines Matching defs:tctx
122 static struct ocs_aes_dev *kmb_ocs_aes_find_dev(struct ocs_aes_tctx *tctx) in kmb_ocs_aes_find_dev()
168 static int save_key(struct ocs_aes_tctx *tctx, const u8 *in_key, size_t key_len, in save_key()
188 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_set_key() local
210 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in kmb_ocs_aead_set_key() local
318 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_common() local
381 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_dma_cleanup() local
405 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_prepare_inplace() local
454 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_prepare_notinplace() local
521 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_run() local
643 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common() local
687 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_cleanup() local
724 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare() local
892 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run() local
954 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_aes_sk_do_one_request() local
980 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aes_aead_do_one_request() local
1151 static inline int ocs_common_init(struct ocs_aes_tctx *tctx) in ocs_common_init()
1163 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in ocs_aes_init_tfm() local
1180 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in ocs_sm4_init_tfm() local
1187 static inline void clear_key(struct ocs_aes_tctx *tctx) in clear_key()
1199 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in ocs_exit_tfm() local
1209 static inline int ocs_common_aead_init(struct ocs_aes_tctx *tctx) in ocs_common_aead_init()
1221 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aes_aead_cra_init() local
1264 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_sm4_aead_cra_init() local
1273 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aead_cra_exit() local