Lines Matching refs:dec
840 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_cipher_cra_exit()
843 sa_free_ctx_info(&ctx->dec, data); in sa_cipher_cra_exit()
862 ret = sa_init_ctx_info(&ctx->dec, data); in sa_cipher_cra_init()
881 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_cipher_cra_init()
926 if (sa_init_sc(&ctx->dec, ctx->dev_data->match_data, key, keylen, NULL, 0, in sa_cipher_setkey()
927 ad, 0, &ctx->dec.epib[1])) in sa_cipher_setkey()
931 cmdl_len = sa_format_cmdl_gen(&cfg, (u8 *)ctx->dec.cmdl, in sa_cipher_setkey()
932 &ctx->dec.cmdl_upd_info); in sa_cipher_setkey()
937 ctx->dec.cmdl_size = cmdl_len; in sa_cipher_setkey()
1091 struct sa_ctx_info *sa_ctx = req->enc ? &req->ctx->enc : &req->ctx->dec; in sa_run()
1514 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_sha_cra_init_alg()
1651 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_sha_cra_exit()
1731 ret = sa_init_ctx_info(&ctx->dec, data); in sa_cra_init_aead()
1739 ctx->dec.sc_id, &ctx->dec.sc_phys); in sa_cra_init_aead()
1765 sa_free_ctx_info(&ctx->dec, data); in sa_exit_tfm_aead()
1823 if (sa_init_sc(&ctx->dec, ctx->dev_data->match_data, keys.enckey, in sa_aead_setkey()
1825 ad, 0, &ctx->dec.epib[1])) in sa_aead_setkey()
1829 cmdl_len = sa_format_cmdl_gen(&cfg, (u8 *)ctx->dec.cmdl, in sa_aead_setkey()
1830 &ctx->dec.cmdl_upd_info); in sa_aead_setkey()
1835 ctx->dec.cmdl_size = cmdl_len; in sa_aead_setkey()