Lines Matching defs:ctx
174 static void compute_aes_dec_key(struct mv_ctx *ctx) in compute_aes_dec_key()
203 struct mv_ctx *ctx = crypto_tfm_ctx(tfm); in mv_setkey_aes() local
261 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_process_current_q() local
393 static inline int mv_hash_import_sha1_ctx(const struct mv_req_hash_ctx *ctx, in mv_hash_import_sha1_ctx()
431 static void mv_save_digest_state(struct mv_req_hash_ctx *ctx) in mv_save_digest_state()
443 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_hash_algo_completion() local
554 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_start_new_hash_req() local
670 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_ecb() local
692 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_cbc() local
708 static void mv_init_hash_req_ctx(struct mv_req_hash_ctx *ctx, int op, in mv_init_hash_req_ctx()
720 static void mv_update_hash_req_ctx(struct mv_req_hash_ctx *ctx, int is_last, in mv_update_hash_req_ctx()
746 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_hash_final() local
767 static void mv_hash_init_ivs(struct mv_tfm_hash_ctx *ctx, const void *istate, in mv_hash_init_ivs()
782 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(&tfm->base); in mv_hash_setkey() local
847 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cra_hash_init() local
893 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cra_hash_exit() local