Home
last modified time | relevance | path

Searched refs:op_dir (Results 1 – 9 of 9) sorted by relevance

/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c77 if (rctx->op_dir == MESON_DECRYPT) in meson_cipher_do_fallback()
109 rctx->op_dir, crypto_skcipher_ivsize(tfm), in meson_cipher()
138 if (rctx->op_dir == MESON_DECRYPT) { in meson_cipher()
214 if (rctx->op_dir) in meson_cipher()
246 if (rctx->op_dir == MESON_DECRYPT) { in meson_cipher()
283 rctx->op_dir = MESON_DECRYPT; in meson_skdecrypt()
301 rctx->op_dir = MESON_ENCRYPT; in meson_skencrypt()
Damlogic-gxl.h110 u32 op_dir; member
/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c72 if (rctx->op_dir & CE_DECRYPTION) in sun8i_ce_cipher_fallback()
103 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sun8i_ce_cipher_prepare()
119 common |= rctx->op_dir | CE_COMM_INT; in sun8i_ce_cipher_prepare()
160 if (rctx->op_dir & CE_DECRYPTION) { in sun8i_ce_cipher_prepare()
259 if (rctx->op_dir & CE_DECRYPTION) { in sun8i_ce_cipher_prepare()
324 if (rctx->op_dir & CE_DECRYPTION) { in sun8i_ce_cipher_unprepare()
347 rctx->op_dir = CE_DECRYPTION; in sun8i_ce_skdecrypt()
366 rctx->op_dir = CE_ENCRYPTION; in sun8i_ce_skencrypt()
Dsun8i-ce.h253 u32 op_dir; member
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c89 if (rctx->op_dir & SS_DECRYPTION) in sun8i_ss_cipher_fallback()
112 if (rctx->op_dir & SS_DECRYPTION) { in sun8i_ss_setup_ivs()
135 if (rctx->op_dir == SS_ENCRYPTION) in sun8i_ss_setup_ivs()
180 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sun8i_ss_cipher()
295 if (rctx->op_dir & SS_DECRYPTION) { in sun8i_ss_cipher()
334 rctx->op_dir = SS_DECRYPTION; in sun8i_ss_skdecrypt()
355 rctx->op_dir = SS_ENCRYPTION; in sun8i_ss_skencrypt()
Dsun8i-ss.h193 u32 op_dir; member
Dsun8i-ss-core.c86 if (rctx->op_dir) in sun8i_ss_run_task()
109 if (rctx->op_dir == SS_ENCRYPTION) { in sun8i_ss_run_task()
124 rctx->op_dir, rctx->t_src[i].len); in sun8i_ss_run_task()
/drivers/crypto/gemini/
Dsl3516-ce-cipher.c116 if (rctx->op_dir == CE_DECRYPTION) in sl3516_ce_cipher_fallback()
144 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sl3516_ce_cipher()
227 ecb->control.op_mode = rctx->op_dir; in sl3516_ce_cipher()
282 rctx->op_dir = CE_DECRYPTION; in sl3516_ce_skdecrypt()
300 rctx->op_dir = CE_ENCRYPTION; in sl3516_ce_skencrypt()
Dsl3516-ce.h284 u32 op_dir; member