diff options
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev-v5.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev-v5.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/ccp/ccp-dev-v5.c b/drivers/crypto/ccp/ccp-dev-v5.c index 612898b4aaad..9c6ff8b813d9 100644 --- a/drivers/crypto/ccp/ccp-dev-v5.c +++ b/drivers/crypto/ccp/ccp-dev-v5.c | |||
@@ -284,8 +284,7 @@ static int ccp5_perform_aes(struct ccp_op *op) | |||
284 | CCP_AES_ENCRYPT(&function) = op->u.aes.action; | 284 | CCP_AES_ENCRYPT(&function) = op->u.aes.action; |
285 | CCP_AES_MODE(&function) = op->u.aes.mode; | 285 | CCP_AES_MODE(&function) = op->u.aes.mode; |
286 | CCP_AES_TYPE(&function) = op->u.aes.type; | 286 | CCP_AES_TYPE(&function) = op->u.aes.type; |
287 | if (op->u.aes.mode == CCP_AES_MODE_CFB) | 287 | CCP_AES_SIZE(&function) = op->u.aes.size; |
288 | CCP_AES_SIZE(&function) = 0x7f; | ||
289 | 288 | ||
290 | CCP5_CMD_FUNCTION(&desc) = function.raw; | 289 | CCP5_CMD_FUNCTION(&desc) = function.raw; |
291 | 290 | ||