This is just to keep formatting changes out of the following commit,
hopefully simplifying it a bit.

Signed-off-by: Phil Sutter <phil.sut...@viprinet.com>
---
 drivers/crypto/mv_cesa.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index 818a5c7..59c2ed2 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -269,12 +269,10 @@ static void mv_process_current_q(int first_block)
        }
        if (req_ctx->decrypt) {
                op.config |= CFG_DIR_DEC;
-               memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_dec_key,
-                               AES_KEY_LEN);
+               memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_dec_key, 
AES_KEY_LEN);
        } else {
                op.config |= CFG_DIR_ENC;
-               memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_enc_key,
-                               AES_KEY_LEN);
+               memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_enc_key, 
AES_KEY_LEN);
        }
 
        switch (ctx->key_len) {
@@ -335,9 +333,8 @@ static void mv_process_hash_current(int first_block)
        }
 
        op.mac_src_p =
-               MAC_SRC_DATA_P(SRAM_DATA_IN_START) | MAC_SRC_TOTAL_LEN((u32)
-               req_ctx->
-               count);
+               MAC_SRC_DATA_P(SRAM_DATA_IN_START) |
+               MAC_SRC_TOTAL_LEN((u32)req_ctx->count);
 
        setup_data_in();
 
@@ -372,7 +369,8 @@ static void mv_process_hash_current(int first_block)
                }
        }
 
-       memcpy(cpg->sram + SRAM_CONFIG, &op, sizeof(struct sec_accel_config));
+       memcpy(cpg->sram + SRAM_CONFIG, &op,
+                       sizeof(struct sec_accel_config));
 
        /* GO */
        mv_setup_timer();
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to