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;
48 if (areq->iv && ivsize > 0 && mode & SS_DECRYPTION) {
66 writel(mode, ss->base + SS_CTL);
128 if (mode & SS_DECRYPTION) {
156 if (ctx->mode & SS_DECRYPTION)
177 u32 mode = ctx->mode;
232 if (areq->iv && ivsize > 0 && mode & SS_DECRYPTION) {
250 writel(mode, ss->base + SS_CTL);
367 if (mode & SS_DECRYPTION) {
390 rctx->mode = SS_OP_AES | SS_CBC | SS_ENABLED | SS_ENCRYPTION |
401 rctx->mode = SS_OP_AES | SS_CBC | SS_ENABLED | SS_DECRYPTION |
413 rctx->mode = SS_OP_AES | SS_ECB | SS_ENABLED | SS_ENCRYPTION |
424 rctx->mode = SS_OP_AES | SS_ECB | SS_ENABLED | SS_DECRYPTION |
436 rctx->mode = SS_OP_DES | SS_CBC | SS_ENABLED | SS_ENCRYPTION |
447 rctx->mode = SS_OP_DES | SS_CBC | SS_ENABLED | SS_DECRYPTION |
459 rctx->mode = SS_OP_DES | SS_ECB | SS_ENABLED | SS_ENCRYPTION |
470 rctx->mode = SS_OP_DES | SS_ECB | SS_ENABLED | SS_DECRYPTION |
482 rctx->mode = SS_OP_3DES | SS_CBC | SS_ENABLED | SS_ENCRYPTION |
493 rctx->mode = SS_OP_3DES | SS_CBC | SS_ENABLED | SS_DECRYPTION |
505 rctx->mode = SS_OP_3DES | SS_ECB | SS_ENABLED | SS_ENCRYPTION |
516 rctx->mode = SS_OP_3DES | SS_ECB | SS_ENABLED | SS_DECRYPTION |
564 /* check and set the AES key, prepare the mode to be used */
594 /* check and set the DES key, prepare the mode to be used */
614 /* check and set the 3DES key, prepare the mode to be used */