Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/crypto/clu_crypto_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ int wolfCLU_setup(int argc, char** argv, char action)
int outCheck = 0; /* if output has been provided */
int encCheck = 0; /* if user is encrypting data */
int decCheck = 0; /* if user is decrypting data */
int inputHex = 0; /* if user is encrypting hexidecimal data */
int keyType = WOLFCLU_KEYTYPE_NONE;
/* tells Decrypt which key it will be using;
* one of the WOLFCLU_KEYTYPE_* values from
Expand Down Expand Up @@ -420,11 +419,6 @@ int wolfCLU_setup(int argc, char** argv, char action)
case WOLFCLU_SIGN:
break;

case WOLFCLU_VERIFY: /* Verify results, used with -iv and -key */
/* using hexidecimal format */
inputHex = 1;
break;

case WOLFCLU_INFORM:
case WOLFCLU_OUTFORM:
case WOLFCLU_OUTPUT:
Expand Down Expand Up @@ -704,7 +698,7 @@ int wolfCLU_setup(int argc, char** argv, char action)
}
if (ret == WOLFCLU_SUCCESS) {
ret = wolfCLU_encrypt(alg, mode, pwdKey, key, keySize, in, out,
iv, block, ivCheck, inputHex);
iv, block, ivCheck);
}
}
}
Expand Down
Loading