Home
last modified time | relevance | path

Searched refs:enc_ctx (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/mpp/test/
H A Dmpi_rc2_test.c57 MppCtx enc_ctx; member
415 MppCtx enc_ctx = NULL; in mpi_rc_enc_init() local
425 ret = mpp_create(&ctx->enc_ctx, &ctx->enc_mpi); in mpi_rc_enc_init()
432 enc_ctx = ctx->enc_ctx; in mpi_rc_enc_init()
444 ret = enc_mpi->control(enc_ctx, MPP_SET_INPUT_TIMEOUT, (MppParam)&block); in mpi_rc_enc_init()
450 ret = enc_mpi->control(enc_ctx, MPP_SET_OUTPUT_TIMEOUT, (MppParam)&block); in mpi_rc_enc_init()
456 ret = mpp_init(enc_ctx, MPP_CTX_ENC, enc_cmd->type); in mpi_rc_enc_init()
577 ret = enc_mpi->control(enc_ctx, MPP_ENC_SET_CFG, cfg); in mpi_rc_enc_init()
584 ret = enc_mpi->control(enc_ctx, MPP_ENC_SET_SEI_CFG, &sei_mode); in mpi_rc_enc_init()
798 ret = ctx->enc_mpi->control(ctx->enc_ctx, MPP_ENC_SET_CFG, ctx->cfg); in mpi_rc_info_change()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Ddes3_ede_glue.c37 u32 *enc_ctx = ctx->enc.expkey; in des3_ede_enc_blk() local
39 des3_ede_x86_64_crypt_blk(enc_ctx, dst, src); in des3_ede_enc_blk()
53 u32 *enc_ctx = ctx->enc.expkey; in des3_ede_enc_blk_3way() local
55 des3_ede_x86_64_crypt_blk_3way(enc_ctx, dst, src); in des3_ede_enc_blk_3way()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_algs.c247 struct qat_enc *enc_ctx = &ctx->enc_cd->qat_enc_cd; in qat_alg_aead_init_enc_session() local
248 struct icp_qat_hw_cipher_algo_blk *cipher = &enc_ctx->cipher; in qat_alg_aead_init_enc_session()
250 (struct icp_qat_hw_auth_algo_blk *)((char *)enc_ctx + in qat_alg_aead_init_enc_session()