Home
last modified time | relevance | path

Searched refs:SS_DECRYPTION (Results 1 – 5 of 5) sorted by relevance

/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c49 if (areq->iv && ivsize > 0 && mode & SS_DECRYPTION) { in sun4i_ss_opti_poll()
133 if (mode & SS_DECRYPTION) { in sun4i_ss_opti_poll()
167 if (ctx->mode & SS_DECRYPTION) in sun4i_ss_cipher_poll_fallback()
242 if (areq->iv && ivsize > 0 && mode & SS_DECRYPTION) { in sun4i_ss_cipher_poll()
380 if (mode & SS_DECRYPTION) { in sun4i_ss_cipher_poll()
414 rctx->mode = SS_OP_AES | SS_CBC | SS_ENABLED | SS_DECRYPTION | in sun4i_ss_cbc_aes_decrypt()
437 rctx->mode = SS_OP_AES | SS_ECB | SS_ENABLED | SS_DECRYPTION | in sun4i_ss_ecb_aes_decrypt()
460 rctx->mode = SS_OP_DES | SS_CBC | SS_ENABLED | SS_DECRYPTION | in sun4i_ss_cbc_des_decrypt()
483 rctx->mode = SS_OP_DES | SS_ECB | SS_ENABLED | SS_DECRYPTION | in sun4i_ss_ecb_des_decrypt()
506 rctx->mode = SS_OP_3DES | SS_CBC | SS_ENABLED | SS_DECRYPTION | in sun4i_ss_cbc_des3_decrypt()
[all …]
Dsun4i-ss.h89 #define SS_DECRYPTION (1 << 7) macro
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c108 if (rctx->op_dir & SS_DECRYPTION) in sun8i_ss_cipher_fallback()
131 if (rctx->op_dir & SS_DECRYPTION) { in sun8i_ss_setup_ivs()
310 if (rctx->op_dir & SS_DECRYPTION) { in sun8i_ss_cipher()
349 rctx->op_dir = SS_DECRYPTION; in sun8i_ss_skdecrypt()
Dsun8i-ss.h24 #define SS_DECRYPTION BIT(6) macro
Dsun8i-ss-core.c87 v |= SS_DECRYPTION; in sun8i_ss_run_task()