OSDN Git Service

slunkcrypt/SlunkCrypt.git
19 months agoFixed detection of 32-Bit (x86) version of Haiku OS. 1.2.1-1
LoRd_MuldeR [Thu, 29 Sep 2022 19:05:16 +0000 (21:05 +0200)]
Fixed detection of 32-Bit (x86) version of Haiku OS.

19 months agoWindows GUI: Some improvements in detecting the program "patch" version.
LoRd_MuldeR [Wed, 28 Sep 2022 22:57:03 +0000 (00:57 +0200)]
Windows GUI: Some improvements in detecting the program "patch" version.

19 months agoEnable use of getentropy() and explicit_bzero() in Cygwin build. 1.2.1
LoRd_MuldeR [Sat, 24 Sep 2022 14:20:35 +0000 (16:20 +0200)]
Enable use of getentropy() and explicit_bzero() in Cygwin build.

19 months agoAdded build scripts for FreeBSD, Solaris and MacOS X platforms.
LoRd_MuldeR [Thu, 22 Sep 2022 22:10:07 +0000 (00:10 +0200)]
Added build scripts for FreeBSD, Solaris and MacOS X platforms.

19 months agoFixed compatibility of Makefile with older make versions.
LoRd_MuldeR [Wed, 21 Sep 2022 22:08:05 +0000 (00:08 +0200)]
Fixed compatibility of Makefile with older make versions.

19 months agoAdded flag to indicate multi-thread support to the public API.
LoRd_MuldeR [Wed, 21 Sep 2022 22:49:55 +0000 (00:49 +0200)]
Added flag to indicate multi-thread support to the public API.

19 months agoSmall improvement in initialize_once() and fixed a Clang warning.
LoRd_MuldeR [Wed, 21 Sep 2022 21:42:10 +0000 (23:42 +0200)]
Small improvement in initialize_once() and fixed a Clang warning.

19 months agoFixed building the library *without* pthread support.
LoRd_MuldeR [Tue, 20 Sep 2022 21:58:45 +0000 (23:58 +0200)]
Fixed building the library *without* pthread support.

19 months agoEnable the "-pedantic" option for GCC + fixed a few warnings.
LoRd_MuldeR [Tue, 20 Sep 2022 19:53:57 +0000 (21:53 +0200)]
Enable the "-pedantic" option for GCC + fixed a few warnings.

19 months agoClean up includes in "front-end" application.
LoRd_MuldeR [Tue, 20 Sep 2022 19:52:23 +0000 (21:52 +0200)]
Clean up includes in "front-end" application.

21 months agoImproved regression test script.
LoRd_MuldeR [Sun, 24 Jul 2022 13:42:46 +0000 (15:42 +0200)]
Improved regression test script.

22 months agoUpdated Linux build script to better match the officially supported Debian platforms.
LoRd_MuldeR [Sat, 18 Jun 2022 12:38:42 +0000 (14:38 +0200)]
Updated Linux build script to better match the officially supported Debian platforms.

23 months agoGUI: Implemented detection of the ARM64 architecture via IsWow64Process2() function.
LoRd_MuldeR [Mon, 23 May 2022 20:38:24 +0000 (22:38 +0200)]
GUI: Implemented detection of the ARM64 architecture via IsWow64Process2() function.

23 months agoAdded support for building SlunkCrypt for the Windows on ARM64 platform.
LoRd_MuldeR [Tue, 24 May 2022 19:45:09 +0000 (21:45 +0200)]
Added support for building SlunkCrypt for the Windows on ARM64 platform.

23 months agoSupport for MIPS architecture + small improvement to Linux cross-build script.
LoRd_MuldeR [Sat, 21 May 2022 15:21:09 +0000 (17:21 +0200)]
Support for MIPS architecture + small improvement to Linux cross-build script.

23 months agoSmall fix to make error messages in encrypt() and decrypt() more consistent.
LoRd_MuldeR [Tue, 10 May 2022 18:36:07 +0000 (20:36 +0200)]
Small fix to make error messages in encrypt() and decrypt() more consistent.

23 months agoEnable explicit_bzero() and getentropy() on DragonFly platform + enable explicit_bzer...
LoRd_MuldeR [Sun, 8 May 2022 14:11:52 +0000 (16:11 +0200)]
Enable explicit_bzero() and getentropy() on DragonFly platform + enable explicit_bzero() on Haiku platform (requires linking against libbsd).

23 months agoSome improvements to musl libc build script.
LoRd_MuldeR [Sat, 7 May 2022 16:55:22 +0000 (18:55 +0200)]
Some improvements to musl libc build script.

23 months agoSmall improvement to Makefile + fixed compilation with µClibc, which does *not* provi...
LoRd_MuldeR [Thu, 5 May 2022 22:33:45 +0000 (00:33 +0200)]
Small improvement to Makefile + fixed compilation with µClibc, which does *not* provide getentropy() or explicit_bzero() + enable these functions on Solaris/Illumos.

2 years agoAdded support for the Haiku operating system.
LoRd_MuldeR [Tue, 26 Apr 2022 20:01:49 +0000 (22:01 +0200)]
Added support for the Haiku operating system.

2 years agoUpdated README file. 1.2.0
LoRd_MuldeR [Sun, 24 Apr 2022 12:51:04 +0000 (14:51 +0200)]
Updated README file.

2 years agoSmall code clean-up + improved the Makefile + detect GNU/Hurd operating system.
LoRd_MuldeR [Sat, 23 Apr 2022 15:30:51 +0000 (17:30 +0200)]
Small code clean-up + improved the Makefile + detect GNU/Hurd operating system.

2 years agoUpdated Linux build script + added script to build musl libc for all target platforms.
LoRd_MuldeR [Tue, 19 Apr 2022 18:47:15 +0000 (20:47 +0200)]
Updated Linux build script + added script to build musl libc for all target platforms.

2 years agoEnable the GUI to use the "AVX2" binary, if supported on the current machine.
LoRd_MuldeR [Mon, 18 Apr 2022 16:52:55 +0000 (18:52 +0200)]
Enable the GUI to use the "AVX2" binary, if supported on the current machine.

2 years agoUpdated pthreads libraries for the Windows platform (pthread4w) to version 3.0.0.
LoRd_MuldeR [Sat, 16 Apr 2022 22:36:48 +0000 (00:36 +0200)]
Updated pthreads libraries for the Windows platform (pthread4w) to version 3.0.0.

2 years agoAdjust I/O buffer size according to file size + allow slightly bigger maximum buffer...
LoRd_MuldeR [Tue, 12 Apr 2022 21:55:08 +0000 (23:55 +0200)]
Adjust I/O buffer size according to file size + allow slightly bigger maximum buffer size.

2 years agoAdded built-time option SLUNKBUILD_NOTHREADS to disable threading + added simple...
LoRd_MuldeR [Sat, 9 Apr 2022 14:40:16 +0000 (16:40 +0200)]
Added built-time option SLUNKBUILD_NOTHREADS to disable threading + added simple "testbed" script.

2 years agoSmall improvement to platform detection.
LoRd_MuldeR [Fri, 8 Apr 2022 21:10:27 +0000 (23:10 +0200)]
Small improvement to platform detection.

2 years agoFixed slunkcrypt_reset() when no thread pool is allocated, e.g. when thread count...
LoRd_MuldeR [Wed, 6 Apr 2022 22:15:07 +0000 (00:15 +0200)]
Fixed slunkcrypt_reset() when no thread pool is allocated, e.g. when thread count is 1.

2 years agoGUI: Small improvement to setting up the PATH and working directory of the child...
LoRd_MuldeR [Mon, 4 Apr 2022 21:55:09 +0000 (23:55 +0200)]
GUI: Small improvement to setting up the PATH and working directory of the child process.

2 years agoSimplify release script for Linux + drop the separate PGO scripts.
LoRd_MuldeR [Mon, 4 Apr 2022 21:47:10 +0000 (23:47 +0200)]
Simplify release script for Linux + drop the separate PGO scripts.

2 years agoAdded support for setting the number threads in the GUI + some improvements applicati...
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.

2 years agoEnhanced self-test routine + added macro to "safely" free SlunkCrypt instance.
LoRd_MuldeR [Sat, 2 Apr 2022 15:27:48 +0000 (17:27 +0200)]
Enhanced self-test routine + added macro to "safely" free SlunkCrypt instance.

2 years agoDetect the number of available CPU cores by using either sched_getaffinity(), GetProc...
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.

2 years agoRefactored progress indicator update + increase file I/O buffer size.
LoRd_MuldeR [Mon, 28 Mar 2022 19:45:44 +0000 (21:45 +0200)]
Refactored progress indicator update + increase file I/O buffer size.

2 years agoSlightly improved thread management code.
LoRd_MuldeR [Thu, 24 Mar 2022 23:42:44 +0000 (00:42 +0100)]
Slightly improved thread management code.

2 years agoSome code refactoring in the thread pool module.
LoRd_MuldeR [Thu, 24 Mar 2022 20:25:32 +0000 (21:25 +0100)]
Some code refactoring in the thread pool module.

2 years agoMake it possible to set number of threads in the front-end + updated the README file.
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.

2 years agoUpdated pthreads library for the Windows platform (pthreads4w).
LoRd_MuldeR [Tue, 22 Mar 2022 23:39:28 +0000 (00:39 +0100)]
Updated pthreads library for the Windows platform (pthreads4w).

2 years agoMuch improved threading support.
LoRd_MuldeR [Mon, 21 Mar 2022 21:45:29 +0000 (22:45 +0100)]
Much improved threading support.

2 years agoInitial thread support.
LoRd_MuldeR [Mon, 21 Mar 2022 20:11:46 +0000 (21:11 +0100)]
Initial thread support.

2 years agoImplemented improved method for detecting identical files. master
LoRd_MuldeR [Fri, 4 Mar 2022 19:05:52 +0000 (20:05 +0100)]
Implemented improved method for detecting identical files.

2 years agoSome code refactoring.
LoRd_MuldeR [Tue, 1 Mar 2022 22:34:50 +0000 (23:34 +0100)]
Some code refactoring.

2 years agoPrint the system error message, if the input or output file could not be opened.
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.

2 years agoMake sure that input file name and output file name are distinct (to the extent possi...
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).

2 years agoRefactored process event handler class + added new "random password" icon. 1.1.2
LoRd_MuldeR [Fri, 11 Feb 2022 21:02:50 +0000 (22:02 +0100)]
Refactored process event handler class + added new "random password" icon.

2 years agoReplaced clock() function by clock_gettime() on Linux and QueryPerformanceFrequency...
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.

2 years agoRefactored the ProcessRunner and PasswordGen classes.
LoRd_MuldeR [Thu, 10 Feb 2022 21:55:52 +0000 (22:55 +0100)]
Refactored the ProcessRunner and PasswordGen classes.

2 years agoGUI: Replaced the built-in password generator with call to SlunkCrypt CLI program...
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.

2 years agoSmall improvement to the password generator.
LoRd_MuldeR [Tue, 8 Feb 2022 21:53:02 +0000 (22:53 +0100)]
Small improvement to the password generator.

2 years agoMake sure that the requested number of random bytes is fully read, even if a single...
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.

2 years agoIncrement patch version. 1.1.1
LoRd_MuldeR [Thu, 27 Jan 2022 20:51:53 +0000 (21:51 +0100)]
Increment patch version.

2 years agoGracefully handle an *empty* argument array (argc < 1), which apparently is possible...
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.

2 years agoUpdated the README file.
LoRd_MuldeR [Mon, 15 Nov 2021 21:30:16 +0000 (22:30 +0100)]
Updated the README file.

2 years agoImplemented application configuration setting to disable the busy indicator (by default). 1.1.0
LoRd_MuldeR [Sat, 13 Nov 2021 16:11:08 +0000 (17:11 +0100)]
Implemented application configuration setting to disable the busy indicator (by default).

2 years agoReplaced 'glibc' checks with more general 'linux' checks in order to better support...
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).

2 years agoImplemented option to disable the busy indicator (animation).
LoRd_MuldeR [Thu, 11 Nov 2021 20:36:13 +0000 (21:36 +0100)]
Implemented option to disable the busy indicator (animation).

2 years agoRefactored project/solution files.
LoRd_MuldeR [Wed, 10 Nov 2021 18:38:35 +0000 (19:38 +0100)]
Refactored project/solution files.

2 years agoAdded runtime CPU detection for SSE2 capability to the GUI front-end.
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.

2 years agoSmall improvement to release script.
LoRd_MuldeR [Wed, 26 May 2021 22:43:07 +0000 (00:43 +0200)]
Small improvement to release script.

2 years agoWorkaround for bug in older version of the UCRT on Windows XP: Explicitly link UCRT... 1.0.0
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.

2 years agoAdded simple release script. 1.0.0-beta1
LoRd_MuldeR [Sat, 8 May 2021 17:23:57 +0000 (19:23 +0200)]
Added simple release script.

2 years agoGUI: Added button to generate a random password to the "Encrypt" tab.
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.

3 years agoAdded a simple GUI front-end for Windows platform.
LoRd_MuldeR [Sat, 24 Apr 2021 00:59:39 +0000 (02:59 +0200)]
Added a simple GUI front-end for Windows platform.

3 years agoDo not request more than 256 bytes of random data from getentropy() at once.
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.

3 years agoSwitch to using getentropy() function, because it is available on OpenBSD and it...
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.

3 years agoSmall Makefile improvement.
LoRd_MuldeR [Mon, 19 Apr 2021 20:21:07 +0000 (22:21 +0200)]
Small Makefile improvement.

3 years agoRefactored passphrase generator into a separate file.
LoRd_MuldeR [Sun, 18 Apr 2021 20:19:17 +0000 (22:19 +0200)]
Refactored passphrase generator into a separate file.

3 years agoRefactored encryption/decryption routines as well as the self-test routine into separ...
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.

3 years agoFall back to /dev/urandom, if compiled with getrandom() support but that syscall...
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.

3 years agoRefactored key-derivation code into a separate file + some code clean-up.
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.

3 years agoFold the hash at the very end of the keygen loop (effectively), instead of already...
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.

3 years agoPrint a warning when ignoring excess command-line arguments.
LoRd_MuldeR [Sun, 11 Apr 2021 18:55:39 +0000 (20:55 +0200)]
Print a warning when ignoring excess command-line arguments.

3 years agoWorkaround for Intel® oneAPI DPC++/C++ Compiler detection.
LoRd_MuldeR [Sun, 11 Apr 2021 15:38:09 +0000 (17:38 +0200)]
Workaround for Intel® oneAPI DPC++/C++ Compiler detection.

3 years agoImproved test cases to also verify the checksum of the ciphertext.
LoRd_MuldeR [Sat, 10 Apr 2021 14:37:09 +0000 (16:37 +0200)]
Improved test cases to also verify the checksum of the ciphertext.

3 years agoDo not use __umul128() intrinsic with MSVC, as it is not faster at all + some code...
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.

3 years agoSmall tweak to self-test routine.
LoRd_MuldeR [Wed, 7 Apr 2021 23:58:54 +0000 (01:58 +0200)]
Small tweak to self-test routine.

3 years agoUsing the 128-bit hash function, instead of 64-Bit one.
LoRd_MuldeR [Wed, 7 Apr 2021 20:14:50 +0000 (22:14 +0200)]
Using the 128-bit hash function, instead of 64-Bit one.

3 years agoSmall code simplification in open_files() function.
LoRd_MuldeR [Wed, 7 Apr 2021 00:28:26 +0000 (02:28 +0200)]
Small code simplification in open_files() function.

3 years agoSmall improvement to Makefile.
LoRd_MuldeR [Tue, 6 Apr 2021 23:40:05 +0000 (01:40 +0200)]
Small improvement to Makefile.

3 years agoAdded MSVC configurations "Release with SSE2" and "Release with debug information".
LoRd_MuldeR [Sun, 4 Apr 2021 14:41:34 +0000 (16:41 +0200)]
Added MSVC configurations "Release with SSE2" and "Release with debug information".

3 years agoRemove an incomplete (or corrupted) output file by default.
LoRd_MuldeR [Sat, 3 Apr 2021 15:04:03 +0000 (17:04 +0200)]
Remove an incomplete (or corrupted) output file by default.

3 years agoSlightly tweak stepping algorithm to include a counter.
LoRd_MuldeR [Sat, 3 Apr 2021 15:02:39 +0000 (17:02 +0200)]
Slightly tweak stepping algorithm to include a counter.

3 years agoVS2010 compile fix.
LoRd_MuldeR [Fri, 2 Apr 2021 18:04:30 +0000 (20:04 +0200)]
VS2010 compile fix.

3 years agoUpdated README file.
LoRd_MuldeR [Fri, 2 Apr 2021 14:37:53 +0000 (16:37 +0200)]
Updated README file.

3 years agoClean up function names.
LoRd_MuldeR [Fri, 2 Apr 2021 14:37:19 +0000 (16:37 +0200)]
Clean up function names.

3 years agoRevamped the stepping algorithm.
LoRd_MuldeR [Thu, 1 Apr 2021 21:37:37 +0000 (23:37 +0200)]
Revamped the stepping algorithm.

3 years agoSimplified crypt_state_t by merging separate fwd/bwd arrays.
LoRd_MuldeR [Thu, 1 Apr 2021 13:39:54 +0000 (15:39 +0200)]
Simplified crypt_state_t by merging separate fwd/bwd arrays.

3 years agoReplaced separate encrypt() and decrypt() functions with a single process() function...
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.

3 years agoSmall fix to rotation code.
LoRd_MuldeR [Wed, 31 Mar 2021 22:36:04 +0000 (00:36 +0200)]
Small fix to rotation code.

3 years agoRevamped the stepping algorithm.
LoRd_MuldeR [Tue, 30 Mar 2021 22:05:40 +0000 (00:05 +0200)]
Revamped the stepping algorithm.

3 years agoOnly check current clock() on every 32-th cycle, in order to limit the overhead.
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.

3 years agoRevamped the stepping algorithm.
LoRd_MuldeR [Sat, 27 Mar 2021 15:19:26 +0000 (16:19 +0100)]
Revamped the stepping algorithm.

3 years agoDon't require environment variable to start with "pass:" prefix + some code clean-up.
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.

3 years agoTweak minimum/maximum password lengths.
LoRd_MuldeR [Fri, 26 Mar 2021 00:14:33 +0000 (01:14 +0100)]
Tweak minimum/maximum password lengths.

3 years agoRenamed the C++ wrapper classes + updated README file.
LoRd_MuldeR [Wed, 24 Mar 2021 20:34:46 +0000 (21:34 +0100)]
Renamed the C++ wrapper classes + updated README file.

3 years agoSilenced some compiler warnings, found by Clang.
LoRd_MuldeR [Wed, 24 Mar 2021 19:23:14 +0000 (20:23 +0100)]
Silenced some compiler warnings, found by Clang.

3 years agoAdded examples on how to use the C++11 API + added explicit compiler checks.
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.

3 years agoImproved command-line syntax for passing the passphrase + Updated README file.
LoRd_MuldeR [Sun, 21 Mar 2021 21:10:34 +0000 (22:10 +0100)]
Improved command-line syntax for passing the passphrase + Updated README file.

3 years agoMore thorough cleaning of encryption/decryption state and buffers.
LoRd_MuldeR [Sun, 21 Mar 2021 15:46:22 +0000 (16:46 +0100)]
More thorough cleaning of encryption/decryption state and buffers.