1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 19:38:26 -06:00

Linux/MacOSX: change cascade encryption naming format in the UI as it was done on Windows.

This commit is contained in:
Mounir IDRASSI
2015-01-04 00:54:24 +01:00
parent 9a31c23881
commit cbc28bd4fe
6 changed files with 22 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ namespace VeraCrypt
if (!ea->IsDeprecated())
{
BenchmarkResult result;
result.AlgorithmName = ea->GetName();
result.AlgorithmName = ea->GetName(true);
Buffer key (ea->GetKeySize());
ea->SetKey (key);

View File

@@ -24,7 +24,7 @@ namespace VeraCrypt
foreach (shared_ptr <EncryptionAlgorithm> ea, EncryptionAlgorithms)
{
if (!ea->IsDeprecated())
EncryptionAlgorithmChoice->Append (ea->GetName(), ea.get());
EncryptionAlgorithmChoice->Append (ea->GetName(true), ea.get());
}
EncryptionAlgorithmChoice->Select (0);
@@ -124,7 +124,7 @@ namespace VeraCrypt
{
if (algorithm)
{
EncryptionAlgorithmChoice->SetStringSelection (algorithm->GetName());
EncryptionAlgorithmChoice->SetStringSelection (algorithm->GetName(true));
OnEncryptionAlgorithmSelected ();
}
}

View File

@@ -21,7 +21,7 @@ namespace VeraCrypt
foreach (shared_ptr <EncryptionAlgorithm> ea, EncryptionAlgorithms)
{
if (!ea->IsDeprecated())
EncryptionAlgorithmChoice->Append (ea->GetName(), ea.get());
EncryptionAlgorithmChoice->Append (ea->GetName(true), ea.get());
}
EncryptionAlgorithmChoice->Select (0);

View File

@@ -664,7 +664,7 @@ namespace VeraCrypt
{
if (!ea->IsDeprecated())
{
ShowString (StringFormatter (L" {0}) {1}\n", (uint32) encryptionAlgorithms.size() + 1, ea->GetName()));
ShowString (StringFormatter (L" {0}) {1}\n", (uint32) encryptionAlgorithms.size() + 1, ea->GetName(true)));
encryptionAlgorithms.push_back (ea);
}
}