Lines Matching defs:ctx
169 static void compute_aes_dec_key(struct mv_ctx *ctx) in compute_aes_dec_key()
198 struct mv_ctx *ctx = crypto_tfm_ctx(tfm); in mv_setkey_aes() local
256 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_process_current_q() local
388 static inline int mv_hash_import_sha1_ctx(const struct mv_req_hash_ctx *ctx, in mv_hash_import_sha1_ctx()
426 static void mv_save_digest_state(struct mv_req_hash_ctx *ctx) in mv_save_digest_state()
438 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_hash_algo_completion() local
549 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_start_new_hash_req() local
665 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_ecb() local
687 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_cbc() local
703 static void mv_init_hash_req_ctx(struct mv_req_hash_ctx *ctx, int op, in mv_init_hash_req_ctx()
715 static void mv_update_hash_req_ctx(struct mv_req_hash_ctx *ctx, int is_last, in mv_update_hash_req_ctx()
741 struct mv_req_hash_ctx *ctx = ahash_request_ctx(req); in mv_hash_final() local
762 static void mv_hash_init_ivs(struct mv_tfm_hash_ctx *ctx, const void *istate, in mv_hash_init_ivs()
777 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(&tfm->base); in mv_hash_setkey() local
842 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cra_hash_init() local
888 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cra_hash_exit() local