From bb123bb3e8719d012884d144d326e5e8c8c15786 Mon Sep 17 00:00:00 2001 From: Meteor0id <34976212+Meteor0id@users.noreply.github.com> Date: Sat, 2 Nov 2019 01:06:02 +0100 Subject: Start following IEEE 1541 agreed naming of bytes (#532) * Start following IEEE 1541 agreed naming of bytes This standard exists to prevent any confusion about the actual number of bytes. It has been agreed on by experts and is being used more widespead these day. Let's start properly naming the number of bytes, which is absolutely important in disk encryption software. * Update LanguageStrings.cpp * Update UserInterface.cpp * kibibyte instead of kilobyte * kibibyte instead of kilobyte * MiB instead of MB * undo accidental deletions Odd indeed that two random lines were deleted in a previous commit. Probably happened when using a keyboard shortcut while editing the file. This fixes the issue. * Mb to Mib --- README.md | 2 +- doc/html/Keyfiles.html | 4 +- src/Boot/Windows/BootDiskIo.cpp | 2 +- src/Common/Language.xml | 90 ++++++++++++++++++++--------------------- src/Main/LanguageStrings.cpp | 2 +- src/Main/UserInterface.cpp | 2 +- src/Readme.txt | 2 +- 7 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 877d103c..0a99475d 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ IDRIX certificate). Keep this in mind if you compile VeraCrypt and compare your binaries with the official binaries. If your binaries are unsigned, the sizes of the official binaries will usually be approximately -10 KB greater than sizes of your binaries (there may be further differences +10 KiB greater than sizes of your binaries (there may be further differences if you use a different version of the compiler, or if you install a different or no service pack for Visual Studio, or different hotfixes for it, or if you use different versions of the required SDKs). diff --git a/doc/html/Keyfiles.html b/doc/html/Keyfiles.html index 03627dbb..b1c11895 100644 --- a/doc/html/Keyfiles.html +++ b/doc/html/Keyfiles.html @@ -40,7 +40,7 @@
VeraCrypt keyfile is a file whose content is combined with a password. The user can use any kind of file as a VeraCrypt keyfile. The user can also generate a keyfile using the built-in keyfile generator, which utilizes the VeraCrypt RNG to generate a file with random content (for more information, see the section Random Number Generator).
-The maximum size of a keyfile is not limited; however, only its first 1,048,576 bytes (1 MB) are processed (all remaining bytes are ignored due to performance issues connected with processing extremely large files). The user can supply one or more keyfiles +
The maximum size of a keyfile is not limited; however, only its first 1,048,576 bytes (1 MiB) are processed (all remaining bytes are ignored due to performance issues connected with processing extremely large files). The user can supply one or more keyfiles (the number of keyfiles is not limited).
Keyfiles can be stored on PKCS-11-compliant [23] security tokens and smart cards protected by multiple PIN codes (which can be entered either using a hardware PIN pad or via the VeraCrypt GUI).
Keyfiles are processed and applied to a password using the following method:
@@ -78,4 +78,4 @@ Note that if the password was shorter than the keyfile pool, then the password w-