fix mhexdump machine detection.
[tfcrypt.git] / tfe.c
diff --git a/tfe.c b/tfe.c
index 544bcc7bed097f853140bb3c1f78ff3d5a6be8ce..127d063cd26d71fe0f96055ae30839ed0a80d603 100644 (file)
--- a/tfe.c
+++ b/tfe.c
@@ -6,11 +6,7 @@ void tfe_init_iv(struct tfe_stream *tfe, const void *key, const void *iv)
 {
        memset(tfe, 0, sizeof(struct tfe_stream));
        memcpy(tfe->key, key, TF_KEY_SIZE);
-       data_to_words(tfe->key, TF_KEY_SIZE);
-       if (iv) {
-               memcpy(tfe->iv, iv, TF_BLOCK_SIZE);
-               data_to_words(tfe->iv, TF_BLOCK_SIZE);
-       }
+       if (iv) memcpy(tfe->iv, iv, TF_BLOCK_SIZE);
        tfe->carry_bytes = 0;
 }