- Removed GCM, CTR and OFB encryption modes.

- Every time server sends CALV message, IV will be changed as well.
This commit is contained in:
jerry 2013-08-16 18:06:30 +00:00
parent beab22e5b2
commit a25587c4c5
19 changed files with 63 additions and 411 deletions

View file

@ -165,12 +165,9 @@ CApp::parseArg(const int& argc, const char* const* argv, int& i)
else if (isArg(i, argc, argv, NULL, "--crypto-pass")) {
argsBase().m_crypto.m_pass = argv[++i];
argsBase().m_crypto.setMode("cfb");
}
else if (isArg(i, argc, argv, NULL, "--crypto-mode")) {
argsBase().m_crypto.setMode(argv[++i]);
}
else if (isArg(i, argc, argv, NULL, "--filetransfer-src")) {
m_fileTransferSrc = argv[++i];
}