aes128cfb_0

This commit is contained in:
wangyu
2020-07-15 01:37:47 -04:00
parent 2f0328a41a
commit 15c15d5bcb
3 changed files with 16 additions and 4 deletions

View File

@@ -563,6 +563,13 @@ void process_arg(int argc, char *argv[]) //process all options
}
else if(strcmp(long_options[option_index].name,"cipher-mode")==0)
{
string s=optarg;
if(s=="aes128cfb_0")
{
s="aes128cfb";
aes128cfb_old=1;
mylog(log_warn,"aes128cfb_0 is used\n");
}
for(i=0;i<cipher_end;i++)
{
if(strcmp(optarg,cipher_mode_tostring[i])==0)