From 55b3400afa1f94f9f7a4317750a15be6b45157a6 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 3 Jan 2015 22:57:24 +0100 Subject: Windows: change cascade encryption naming format to reflex mathematical composition of the encryption algorithm, thus being more clear. For example AES(Twofish(Serpent)) instead of AES-Twofish-Serpent. --- src/Mount/Mount.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Mount/Mount.c') diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 1d25473d..e7350cf8 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -1188,7 +1188,7 @@ void LoadDriveLetters (HWND hwndDlg, HWND hTree, int drive) GetSizeString (GetSysEncDeviceSize(TRUE), szTmpW, sizeof(szTmpW)); ListSubItemSetW (hTree, listItem.iItem, 2, szTmpW); - EAGetName (szTmp, propSysEnc.ea); + EAGetName (szTmp, propSysEnc.ea, 1); listItem.iSubItem = 3; ListView_SetItem (hTree, &listItem); @@ -1305,7 +1305,7 @@ void LoadDriveLetters (HWND hwndDlg, HWND hTree, int drive) GetSizeString (bSysEncPartition ? GetSysEncDeviceSize(TRUE) : driver.diskLength[i], szTmpW, sizeof(szTmpW)); ListSubItemSetW (hTree, listItem.iItem, 2, szTmpW); - EAGetName (szTmp, bSysEncPartition ? propSysEnc.ea : driver.ea[i]); + EAGetName (szTmp, bSysEncPartition ? propSysEnc.ea : driver.ea[i], 1); listItem.iSubItem = 3; ListView_SetItem (hTree, &listItem); @@ -3081,14 +3081,14 @@ BOOL CALLBACK VolumePropertiesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LP return 1; } - EAGetName (szTmp, prop.ea); + EAGetName (szTmp, prop.ea, 1); ListSubItemSet (list, i++, 1, szTmp); // Key size(s) { char name[128]; int size = EAGetKeySize (prop.ea); - EAGetName (name, prop.ea); + EAGetName (name, prop.ea, 1); // Primary key ListItemAddW (list, i, GetString ("KEY_SIZE")); -- cgit v1.2.3