OSDN Git Service
LoRd_MuldeR [Sun, 3 Apr 2022 12:58:59 +0000 (14:58 +0200)]
Added support for setting the number threads in the GUI + some improvements application configuration handling.
LoRd_MuldeR [Sat, 2 Apr 2022 15:27:48 +0000 (17:27 +0200)]
Enhanced self-test routine + added macro to "safely" free SlunkCrypt instance.
LoRd_MuldeR [Thu, 31 Mar 2022 21:05:34 +0000 (23:05 +0200)]
Detect the number of available CPU cores by using either sched_getaffinity(), GetProcessAffinityMask() or sysconf(), depending on the target platform.
LoRd_MuldeR [Mon, 28 Mar 2022 19:45:44 +0000 (21:45 +0200)]
Refactored progress indicator update + increase file I/O buffer size.
LoRd_MuldeR [Thu, 24 Mar 2022 23:42:44 +0000 (00:42 +0100)]
Slightly improved thread management code.
LoRd_MuldeR [Thu, 24 Mar 2022 20:25:32 +0000 (21:25 +0100)]
Some code refactoring in the thread pool module.
LoRd_MuldeR [Wed, 23 Mar 2022 21:33:45 +0000 (22:33 +0100)]
Make it possible to set number of threads in the front-end + updated the README file.
LoRd_MuldeR [Tue, 22 Mar 2022 23:39:28 +0000 (00:39 +0100)]
Updated pthreads library for the Windows platform (pthreads4w).
LoRd_MuldeR [Mon, 21 Mar 2022 21:45:29 +0000 (22:45 +0100)]
Much improved threading support.
LoRd_MuldeR [Mon, 21 Mar 2022 20:11:46 +0000 (21:11 +0100)]
Initial thread support.
LoRd_MuldeR [Fri, 4 Mar 2022 19:05:52 +0000 (20:05 +0100)]
Implemented improved method for detecting identical files.
LoRd_MuldeR [Tue, 1 Mar 2022 22:34:50 +0000 (23:34 +0100)]
Some code refactoring.
LoRd_MuldeR [Sun, 27 Feb 2022 18:28:38 +0000 (19:28 +0100)]
Print the system error message, if the input or output file could not be opened.
LoRd_MuldeR [Sun, 20 Feb 2022 14:39:33 +0000 (15:39 +0100)]
Make sure that input file name and output file name are distinct (to the extent possible).
LoRd_MuldeR [Fri, 11 Feb 2022 21:02:50 +0000 (22:02 +0100)]
Refactored process event handler class + added new "random password" icon.
LoRd_MuldeR [Fri, 11 Feb 2022 20:52:22 +0000 (21:52 +0100)]
Replaced clock() function by clock_gettime() on Linux and QueryPerformanceFrequency() on Windows.
LoRd_MuldeR [Thu, 10 Feb 2022 21:55:52 +0000 (22:55 +0100)]
Refactored the ProcessRunner and PasswordGen classes.
LoRd_MuldeR [Tue, 8 Feb 2022 23:44:56 +0000 (00:44 +0100)]
GUI: Replaced the built-in password generator with call to SlunkCrypt CLI program + bump target framework version to 4.5.2.
LoRd_MuldeR [Tue, 8 Feb 2022 21:53:02 +0000 (22:53 +0100)]
Small improvement to the password generator.
LoRd_MuldeR [Tue, 8 Feb 2022 21:46:33 +0000 (22:46 +0100)]
Make sure that the requested number of random bytes is fully read, even if a single read() invocation returned fewer than "count" bytes.
LoRd_MuldeR [Thu, 27 Jan 2022 20:51:53 +0000 (21:51 +0100)]
Increment patch version.
LoRd_MuldeR [Wed, 26 Jan 2022 23:21:28 +0000 (00:21 +0100)]
Gracefully handle an *empty* argument array (argc < 1), which apparently is possible on Linux and maybe others.
LoRd_MuldeR [Mon, 15 Nov 2021 21:30:16 +0000 (22:30 +0100)]
Updated the README file.
LoRd_MuldeR [Sat, 13 Nov 2021 16:11:08 +0000 (17:11 +0100)]
Implemented application configuration setting to disable the busy indicator (by default).
LoRd_MuldeR [Fri, 12 Nov 2021 19:40:51 +0000 (20:40 +0100)]
Replaced 'glibc' checks with more general 'linux' checks in order to better support alternative C libraries (e.g. musl libc).
LoRd_MuldeR [Thu, 11 Nov 2021 20:36:13 +0000 (21:36 +0100)]
Implemented option to disable the busy indicator (animation).
LoRd_MuldeR [Wed, 10 Nov 2021 18:38:35 +0000 (19:38 +0100)]
Refactored project/solution files.
LoRd_MuldeR [Sun, 7 Nov 2021 20:18:33 +0000 (21:18 +0100)]
Added runtime CPU detection for SSE2 capability to the GUI front-end.
LoRd_MuldeR [Wed, 26 May 2021 22:43:07 +0000 (00:43 +0200)]
Small improvement to release script.
LoRd_MuldeR [Mon, 10 May 2021 19:21:47 +0000 (21:21 +0200)]
Workaround for bug in older version of the UCRT on Windows XP: Explicitly link UCRT version 10.0.14393.0 and force the minimum required OS version to 5.1.
LoRd_MuldeR [Sat, 8 May 2021 17:23:57 +0000 (19:23 +0200)]
Added simple release script.
LoRd_MuldeR [Sat, 8 May 2021 15:55:16 +0000 (17:55 +0200)]
GUI: Added button to generate a random password to the "Encrypt" tab.
LoRd_MuldeR [Sat, 24 Apr 2021 00:59:39 +0000 (02:59 +0200)]
Added a simple GUI front-end for Windows platform.
LoRd_MuldeR [Wed, 21 Apr 2021 11:52:49 +0000 (13:52 +0200)]
Do not request more than 256 bytes of random data from getentropy() at once.
LoRd_MuldeR [Tue, 20 Apr 2021 19:01:58 +0000 (21:01 +0200)]
Switch to using getentropy() function, because it is available on OpenBSD and it doesn't require an additional header.
LoRd_MuldeR [Mon, 19 Apr 2021 20:21:07 +0000 (22:21 +0200)]
Small Makefile improvement.
LoRd_MuldeR [Sun, 18 Apr 2021 20:19:17 +0000 (22:19 +0200)]
Refactored passphrase generator into a separate file.
LoRd_MuldeR [Sun, 18 Apr 2021 13:32:37 +0000 (15:32 +0200)]
Refactored encryption/decryption routines as well as the self-test routine into separate files.
LoRd_MuldeR [Sat, 17 Apr 2021 14:05:32 +0000 (16:05 +0200)]
Fall back to /dev/urandom, if compiled with getrandom() support but that syscall is not available at runtime.
LoRd_MuldeR [Sat, 17 Apr 2021 13:13:13 +0000 (15:13 +0200)]
Refactored key-derivation code into a separate file + some code clean-up.
LoRd_MuldeR [Thu, 15 Apr 2021 20:51:35 +0000 (22:51 +0200)]
Fold the hash at the very end of the keygen loop (effectively), instead of already in the hash function.
LoRd_MuldeR [Sun, 11 Apr 2021 18:55:39 +0000 (20:55 +0200)]
Print a warning when ignoring excess command-line arguments.
LoRd_MuldeR [Sun, 11 Apr 2021 15:38:09 +0000 (17:38 +0200)]
Workaround for IntelĀ® oneAPI DPC++/C++ Compiler detection.
LoRd_MuldeR [Sat, 10 Apr 2021 14:37:09 +0000 (16:37 +0200)]
Improved test cases to also verify the checksum of the ciphertext.
LoRd_MuldeR [Thu, 8 Apr 2021 23:00:29 +0000 (01:00 +0200)]
Do not use __umul128() intrinsic with MSVC, as it is not faster at all + some code clean-up.
LoRd_MuldeR [Wed, 7 Apr 2021 23:58:54 +0000 (01:58 +0200)]
Small tweak to self-test routine.
LoRd_MuldeR [Wed, 7 Apr 2021 20:14:50 +0000 (22:14 +0200)]
Using the 128-bit hash function, instead of 64-Bit one.
LoRd_MuldeR [Wed, 7 Apr 2021 00:28:26 +0000 (02:28 +0200)]
Small code simplification in open_files() function.
LoRd_MuldeR [Tue, 6 Apr 2021 23:40:05 +0000 (01:40 +0200)]
Small improvement to Makefile.
LoRd_MuldeR [Sun, 4 Apr 2021 14:41:34 +0000 (16:41 +0200)]
Added MSVC configurations "Release with SSE2" and "Release with debug information".
LoRd_MuldeR [Sat, 3 Apr 2021 15:04:03 +0000 (17:04 +0200)]
Remove an incomplete (or corrupted) output file by default.
LoRd_MuldeR [Sat, 3 Apr 2021 15:02:39 +0000 (17:02 +0200)]
Slightly tweak stepping algorithm to include a counter.
LoRd_MuldeR [Fri, 2 Apr 2021 18:04:30 +0000 (20:04 +0200)]
VS2010 compile fix.
LoRd_MuldeR [Fri, 2 Apr 2021 14:37:53 +0000 (16:37 +0200)]
Updated README file.
LoRd_MuldeR [Fri, 2 Apr 2021 14:37:19 +0000 (16:37 +0200)]
Clean up function names.
LoRd_MuldeR [Thu, 1 Apr 2021 21:37:37 +0000 (23:37 +0200)]
Revamped the stepping algorithm.
LoRd_MuldeR [Thu, 1 Apr 2021 13:39:54 +0000 (15:39 +0200)]
Simplified crypt_state_t by merging separate fwd/bwd arrays.
LoRd_MuldeR [Wed, 31 Mar 2021 23:58:39 +0000 (01:58 +0200)]
Replaced separate encrypt() and decrypt() functions with a single process() function + added 'mode' parameter to alloc() and reset() functions.
LoRd_MuldeR [Wed, 31 Mar 2021 22:36:04 +0000 (00:36 +0200)]
Small fix to rotation code.
LoRd_MuldeR [Tue, 30 Mar 2021 22:05:40 +0000 (00:05 +0200)]
Revamped the stepping algorithm.
LoRd_MuldeR [Sun, 28 Mar 2021 14:17:06 +0000 (16:17 +0200)]
Only check current clock() on every 32-th cycle, in order to limit the overhead.
LoRd_MuldeR [Sat, 27 Mar 2021 15:19:26 +0000 (16:19 +0100)]
Revamped the stepping algorithm.
LoRd_MuldeR [Fri, 26 Mar 2021 00:21:29 +0000 (01:21 +0100)]
Don't require environment variable to start with "pass:" prefix + some code clean-up.
LoRd_MuldeR [Fri, 26 Mar 2021 00:14:33 +0000 (01:14 +0100)]
Tweak minimum/maximum password lengths.
LoRd_MuldeR [Wed, 24 Mar 2021 20:34:46 +0000 (21:34 +0100)]
Renamed the C++ wrapper classes + updated README file.
LoRd_MuldeR [Wed, 24 Mar 2021 19:23:14 +0000 (20:23 +0100)]
Silenced some compiler warnings, found by Clang.
LoRd_MuldeR [Wed, 24 Mar 2021 19:21:59 +0000 (20:21 +0100)]
Added examples on how to use the C++11 API + added explicit compiler checks.
LoRd_MuldeR [Sun, 21 Mar 2021 21:10:34 +0000 (22:10 +0100)]
Improved command-line syntax for passing the passphrase + Updated README file.
LoRd_MuldeR [Sun, 21 Mar 2021 15:46:22 +0000 (16:46 +0100)]
More thorough cleaning of encryption/decryption state and buffers.
LoRd_MuldeR [Sat, 20 Mar 2021 19:41:35 +0000 (20:41 +0100)]
Make sure that not all RNG state variables are initialized to a zero value.
LoRd_MuldeR [Sat, 20 Mar 2021 16:36:24 +0000 (17:36 +0100)]
Replaced some more byte-order-specific code with a byte-order-agnostic implementation.
LoRd_MuldeR [Thu, 18 Mar 2021 22:02:55 +0000 (23:02 +0100)]
Some improvements to the PRNG code.
LoRd_MuldeR [Thu, 18 Mar 2021 21:36:26 +0000 (22:36 +0100)]
Fixed bug in upper_u64() function.
LoRd_MuldeR [Thu, 18 Mar 2021 00:58:07 +0000 (01:58 +0100)]
Don't set 'stdout' to _O_BINARY mode on Windows, because it can have some weird effect when printing text to the terminal. Also, we currently don't output any "binary" data to 'stdout' anyway.
LoRd_MuldeR [Wed, 17 Mar 2021 23:28:01 +0000 (00:28 +0100)]
Small fix to BLAKE2s initialization code.
LoRd_MuldeR [Wed, 17 Mar 2021 00:14:25 +0000 (01:14 +0100)]
Small tweak to the key derivation function.
LoRd_MuldeR [Tue, 16 Mar 2021 21:03:14 +0000 (22:03 +0100)]
Implemented checksum based on BLAKE2s hash function.
LoRd_MuldeR [Mon, 15 Mar 2021 22:08:16 +0000 (23:08 +0100)]
Added simple script to generate the documents.
LoRd_MuldeR [Mon, 15 Mar 2021 00:27:04 +0000 (01:27 +0100)]
Updated README file.
LoRd_MuldeR [Sun, 14 Mar 2021 21:36:38 +0000 (22:36 +0100)]
Updated README file.
LoRd_MuldeR [Sun, 14 Mar 2021 15:07:47 +0000 (16:07 +0100)]
Updated README file.
LoRd_MuldeR [Sat, 13 Mar 2021 19:46:15 +0000 (20:46 +0100)]
Updated README file.
LoRd_MuldeR [Tue, 15 Dec 2020 16:18:25 +0000 (17:18 +0100)]
Obfuscate nonce in output file, by XOR'ing with the first digits of PI.
LoRd_MuldeR [Tue, 15 Dec 2020 15:47:25 +0000 (16:47 +0100)]
Updated README file.
LoRd_MuldeR [Sat, 12 Dec 2020 16:20:18 +0000 (17:20 +0100)]
Slightly improved cleansing of the command-line on Win32.
LoRd_MuldeR [Sat, 12 Dec 2020 02:22:29 +0000 (03:22 +0100)]
Slightly improved storage of the padding size.
LoRd_MuldeR [Tue, 1 Dec 2020 16:28:32 +0000 (17:28 +0100)]
Added new option to generate a random passphrase.
LoRd_MuldeR [Tue, 1 Dec 2020 02:03:49 +0000 (03:03 +0100)]
Ignore excess bytes, if length of input file is *not* an integer multiple of 8.
LoRd_MuldeR [Tue, 1 Dec 2020 01:24:35 +0000 (02:24 +0100)]
Implemented a simple padding scheme.
LoRd_MuldeR [Mon, 23 Nov 2020 18:49:31 +0000 (19:49 +0100)]
Updated README file.
LoRd_MuldeR [Sun, 15 Nov 2020 18:47:40 +0000 (19:47 +0100)]
Updated README file.
LoRd_MuldeR [Wed, 4 Nov 2020 22:46:43 +0000 (23:46 +0100)]
Fixed a bunch of warnings with legacy MinGW version.
LoRd_MuldeR [Wed, 4 Nov 2020 22:17:59 +0000 (23:17 +0100)]
Fixed a few warnings on Linux.
LoRd_MuldeR [Tue, 3 Nov 2020 22:19:00 +0000 (23:19 +0100)]
Fix for older versions of 'dd' that did not support the 'status=none' flag.
LoRd_MuldeR [Mon, 2 Nov 2020 23:49:56 +0000 (00:49 +0100)]
Avoid the use of a "Trigraph" in the test data.
LoRd_MuldeR [Sun, 1 Nov 2020 21:46:25 +0000 (22:46 +0100)]
Added support for link-time-optimizations.
LoRd_MuldeR [Sat, 31 Oct 2020 15:33:53 +0000 (16:33 +0100)]
Added build script for Windows.
LoRd_MuldeR [Thu, 29 Oct 2020 17:12:21 +0000 (18:12 +0100)]
Added helper script for profile-guided optimization (PGO).
LoRd_MuldeR [Wed, 28 Oct 2020 20:58:24 +0000 (21:58 +0100)]
Some code clean-up.
LoRd_MuldeR [Wed, 28 Oct 2020 15:21:01 +0000 (16:21 +0100)]
Use __attribute__((destructor)), if supported by the compiler.