VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
.highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 Legal Notice: Some portions of the source code contained in this file were
 derived from the source code of TrueCrypt 7.1a, which is
 Copyright (c) 2003-2012 TrueCrypt Developers Association and which is
 governed by the TrueCrypt License 3.0, also from the source code of
 Encryption for the Masses 2.02a, which is Copyright (c) 1998-2000 Paul Le Roux
 and which is governed by the 'License Agreement for Encryption for the Masses'
 Modifications and additions to the original source code (contained in this file)
 and all other portions of this file are Copyright (c) 2013-2016 IDRIX
 and are governed by the Apache License 2.0 the full text of which is
 contained in the file License.txt included in VeraCrypt binary and source
 code distribution packages. */

#include "Tcdefs.h"
#include "Language.h"
#include "Dlgcode.h"
#include "Progress.h"
#include "../Format/Tcformat.h"
#include "../Format/FormatCom.h"
#include "../Format/resource.h"

AgeCommit message (Collapse)AuthorFilesLines
2015-02-09Static Code Analysis: solve issues in Expander. Use real random values for ↵Mounir IDRASSI1-4/+23
wipe buffers.
2015-02-09Static Code Analysis: in Windows Driver, avoid using uninitialized stack ↵Mounir IDRASSI3-5/+48
memory as random and use proper random value for wipe operation. Solve potential double-free issue.
2015-02-09Static Code Analysis: code potential memory leaks in inflate.c used by the ↵Mounir IDRASSI1-3/+16
setup.
2015-02-09Static Code Analysis: handle unused variables more properly. Catch STL ↵Mounir IDRASSI10-18/+23
exception. Add more checks. Add proper cast to arithmetic operations.
2015-02-09Static Code Analysis: Correct memory leaks. Add more checks.Mounir IDRASSI2-18/+77
2015-02-09Static Code Analysis: clarify macros definition and use.Mounir IDRASSI2-5/+5
2015-02-09Static Code Analysis: Add more checks. Avoid unhandled ATL exceptions by ↵Mounir IDRASSI3-70/+180
checking memory allocation. Avoid throwing exception in File constructor and simplify code.
2015-02-08Linux: solve rare issue where VeraCrypt wrongly reports that another ↵Mounir IDRASSI1-3/+21
1-0/+0
information.
2015-01-05Clarify the waiting dialog message.Mounir IDRASSI1-1/+1
2015-01-04Linux/MacOSX: Add support for TrueCrypt 6.x as it was done on Windows.Mounir IDRASSI1-1/+1
2015-01-04Linux/MacOSX: Add wait dialog to the benchmark computation. Correct handling ↵Mounir IDRASSI4-22/+42
of wait dialog call when changing password and creating volumes.
2015-01-04Linux/MacOSX: make the cancel button work on the preferences dialog.Mounir IDRASSI1-1/+1
2015-01-04Increment version to 1.0f-1 and update language files and PDF with ↵Mounir IDRASSI8-23/+23
information about TrueCrypt 6.0 support.
2015-01-04Language XML: correct error message to show that we support TrueCrypt 6.0 ↵Mounir IDRASSI1-1/+1
and above.
2015-01-04Windows: better display of volume information and benchmark results.Mounir IDRASSI3-8/+17
2015-01-04Windows Driver: add TrueCrypt mode of mounted volumes to the output of ↵Mounir IDRASSI2-0/+2
TC_IOCTL_GET_MOUNTED_VOLUMES
2015-01-04Windows: Add support for TrueCrypt 6.x since its format (v4) is identical to ↵Mounir IDRASSI1-1/+1
7.x apart from the sector size field which we already handle correctly.
2015-01-04Linux/MacOSX: change cascade encryption naming format in the UI as it was ↵Mounir IDRASSI6-8/+22
done on Windows.
2015-01-03Linux/MacOSX: workaround for wxWidgets bug in the method ↵Mounir IDRASSI1-1/+1
wxTextEntry::IsEmpty that made it impossible to enter a one digit size for the volume.
2015-01-03Windows: change cascade encryption naming format to reflex mathematical ↵Mounir IDRASSI7-21/+37
composition of the encryption algorithm, thus being more clear. For example AES(Twofish(Serpent)) instead of AES-Twofish-Serpent.
2015-01-03Windows: solve XP issue where the installer has missing/blacked out text boxes.Mounir IDRASSI1-12/+0
2015-01-02Linux: solve link error on recent Ubuntu when using shared wxWidgets.Mounir IDRASSI2-2/+5
2015-01-02User Guide: add documentation for /hash command line switch on Windows that ↵Mounir IDRASSI1-0/+0
is used to specify the PRF of a volume.
2015-01-02Readme: add makeself to the build requirements for Linux.Mounir IDRASSI1-2/+4
2014-12-31Update the user guide with new screenshots and an entry for TrueCrypt ↵VeraCrypt_1.0fMounir IDRASSI1-0/+0
compatibility
2014-12-31Increment version to 1.0f and update language XML files with new fields.Mounir IDRASSI7-20/+20
2014-12-30Windows driver: don't fail if the PRF recovered from boot memory is not ↵Mounir IDRASSI1-7/+0
recognized in case we are dealing with a restored bootloader coming from a version prior to 1.0f.
2014-12-30Linux/MacOSX: code refactoring and cleanup.Mounir IDRASSI2-28/+25
2014-12-30Linux/MacOSX: Implement TrueCrypt conversion and loading support. Correct ↵Mounir IDRASSI39-172/+540
many GTK issues linked to multi-threaded origine of events by implementing an automatic mechanism for handling such requests in the main thread.
2014-12-28Windows: propose only hash algorithm that support system encryption when the ↵Mounir IDRASSI1-0/+19
user select the option to a partition as an encrypted system partition.
2014-12-28Windows: support loading TrueCrypt volumes. Implement converting TrueCrypt ↵Mounir IDRASSI29-104/+246
volumes to VeraCrypt using the change password functionality.
2014-12-28Windows: make the wait dialog wider to accommodate long messagesMounir IDRASSI1-4/+4
2014-12-28Windows: use the selected hash algorithm when resuming interrupted process. ↵Mounir IDRASSI1-2/+1
This reduces volume opening time.
2014-12-28Windows: implement wait dialog for benchmark operation.Mounir IDRASSI1-7/+30
2014-12-28Linux/MacOSX: Add possibility to choose 1-pass wipe mode without changing ↵Mounir IDRASSI2-4/+4
the default wipe mode (3-pass).
2014-12-28Windows: Add possibility to choose 1-pass wipe mode in all cases without ↵Mounir IDRASSI1-4/+2
changing the default wipe mode.
2014-12-27Windows: use the correct parent window when changing the password of the ↵Mounir IDRASSI3-8/+8
encrypted system partition.
2014-12-27Windows: implement wait dialog for the backup/restore header operations.Mounir IDRASSI1-16/+62
class="n">bytesPerSec)); if (bytesPerSec == 0 || sec > 60 * 60 * 24 * 999) StringCchPrintfW (text, ARRAYSIZE(text), L"%s ", GetString ("NOT_APPLICABLE_OR_NOT_AVAILABLE")); else if (sec >= 60 * 60 * 24 * 2) StringCchPrintfW (text, ARRAYSIZE(text), L"%I64d %s ", sec / (60 * 24 * 60), days); else if (sec >= 120 * 60) StringCchPrintfW (text, ARRAYSIZE(text), L"%I64d %s ", sec / (60 * 60), hours); else if (sec >= 120) StringCchPrintfW (text, ARRAYSIZE(text), L"%I64d %s ", sec / 60, minutes); else StringCchPrintfW (text, ARRAYSIZE(text), L"%I64d %s ", sec, seconds); SetWindowTextW (GetDlgItem (hCurPage, IDC_TIMEREMAIN), text); } prevTime = time; SendMessage (hProgressBar, PBM_SETPOS, (int) (10000.0 * (bProgressBarReverse ? (TotalSize - byteOffset) : byteOffset) / (TotalSize == 0 ? 1 : TotalSize)), 0); return bVolTransformThreadCancel; }