Lines Matching defs:mode
8 * keysize in CBC and ECB mode.
9 * Add support also for DES and 3DES in CBC and ECB mode.
22 u32 mode = ctx->mode;
49 if (areq->iv && ivsize > 0 && mode & SS_DECRYPTION) {
71 writel(mode, ss->base + SS_CTL);
133 if (mode & SS_DECRYPTION) {
167 if (ctx->mode & SS_DECRYPTION)
188 u32 mode = ctx->mode;
242 if (areq->iv && ivsize > 0 && mode & SS_DECRYPTION) {
263 writel(mode, ss->base + SS_CTL);
380 if (mode & SS_DECRYPTION) {
403 rctx->mode = SS_OP_AES | SS_CBC | SS_ENABLED | SS_ENCRYPTION |
414 rctx->mode = SS_OP_AES | SS_CBC | SS_ENABLED | SS_DECRYPTION |
426 rctx->mode = SS_OP_AES | SS_ECB | SS_ENABLED | SS_ENCRYPTION |
437 rctx->mode = SS_OP_AES | SS_ECB | SS_ENABLED | SS_DECRYPTION |
449 rctx->mode = SS_OP_DES | SS_CBC | SS_ENABLED | SS_ENCRYPTION |
460 rctx->mode = SS_OP_DES | SS_CBC | SS_ENABLED | SS_DECRYPTION |
472 rctx->mode = SS_OP_DES | SS_ECB | SS_ENABLED | SS_ENCRYPTION |
483 rctx->mode = SS_OP_DES | SS_ECB | SS_ENABLED | SS_DECRYPTION |
495 rctx->mode = SS_OP_3DES | SS_CBC | SS_ENABLED | SS_ENCRYPTION |
506 rctx->mode = SS_OP_3DES | SS_CBC | SS_ENABLED | SS_DECRYPTION |
518 rctx->mode = SS_OP_3DES | SS_ECB | SS_ENABLED | SS_ENCRYPTION |
529 rctx->mode = SS_OP_3DES | SS_ECB | SS_ENABLED | SS_DECRYPTION |
576 /* check and set the AES key, prepare the mode to be used */
606 /* check and set the DES key, prepare the mode to be used */
626 /* check and set the 3DES key, prepare the mode to be used */