OSDN Git Service

slunkcrypt/SlunkCrypt.git
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.

3 years agoMake sure that not all RNG state variables are initialized to a zero value.
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.

3 years agoReplaced some more byte-order-specific code with a byte-order-agnostic implementation.
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.

3 years agoSome improvements to the PRNG code.
LoRd_MuldeR [Thu, 18 Mar 2021 22:02:55 +0000 (23:02 +0100)]
Some improvements to the PRNG code.

3 years agoFixed bug in upper_u64() function.
LoRd_MuldeR [Thu, 18 Mar 2021 21:36:26 +0000 (22:36 +0100)]
Fixed bug in upper_u64() function.

3 years agoDon't set 'stdout' to _O_BINARY mode on Windows, because it can have some weird effec...
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.

3 years agoSmall fix to BLAKE2s initialization code.
LoRd_MuldeR [Wed, 17 Mar 2021 23:28:01 +0000 (00:28 +0100)]
Small fix to BLAKE2s initialization code.

3 years agoSmall tweak to the key derivation function.
LoRd_MuldeR [Wed, 17 Mar 2021 00:14:25 +0000 (01:14 +0100)]
Small tweak to the key derivation function.

3 years agoImplemented checksum based on BLAKE2s hash function.
LoRd_MuldeR [Tue, 16 Mar 2021 21:03:14 +0000 (22:03 +0100)]
Implemented checksum based on BLAKE2s hash function.

3 years agoAdded simple script to generate the documents.
LoRd_MuldeR [Mon, 15 Mar 2021 22:08:16 +0000 (23:08 +0100)]
Added simple script to generate the documents.

3 years agoUpdated README file.
LoRd_MuldeR [Mon, 15 Mar 2021 00:27:04 +0000 (01:27 +0100)]
Updated README file.

3 years agoUpdated README file.
LoRd_MuldeR [Sun, 14 Mar 2021 21:36:38 +0000 (22:36 +0100)]
Updated README file.

3 years agoUpdated README file.
LoRd_MuldeR [Sun, 14 Mar 2021 15:07:47 +0000 (16:07 +0100)]
Updated README file.

3 years agoUpdated README file.
LoRd_MuldeR [Sat, 13 Mar 2021 19:46:15 +0000 (20:46 +0100)]
Updated README file.

3 years agoObfuscate nonce in output file, by XOR'ing with the first digits of PI.
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.

3 years agoUpdated README file.
LoRd_MuldeR [Tue, 15 Dec 2020 15:47:25 +0000 (16:47 +0100)]
Updated README file.

3 years agoSlightly improved cleansing of the command-line on Win32.
LoRd_MuldeR [Sat, 12 Dec 2020 16:20:18 +0000 (17:20 +0100)]
Slightly improved cleansing of the command-line on Win32.

3 years agoSlightly improved storage of the padding size.
LoRd_MuldeR [Sat, 12 Dec 2020 02:22:29 +0000 (03:22 +0100)]
Slightly improved storage of the padding size.

3 years agoAdded new option to generate a random passphrase.
LoRd_MuldeR [Tue, 1 Dec 2020 16:28:32 +0000 (17:28 +0100)]
Added new option to generate a random passphrase.

3 years agoIgnore excess bytes, if length of input file is *not* an integer multiple of 8.
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.

3 years agoImplemented a simple padding scheme.
LoRd_MuldeR [Tue, 1 Dec 2020 01:24:35 +0000 (02:24 +0100)]
Implemented a simple padding scheme.

3 years agoUpdated README file.
LoRd_MuldeR [Mon, 23 Nov 2020 18:49:31 +0000 (19:49 +0100)]
Updated README file.

3 years agoUpdated README file.
LoRd_MuldeR [Sun, 15 Nov 2020 18:47:40 +0000 (19:47 +0100)]
Updated README file.

3 years agoFixed a bunch of warnings with legacy MinGW version.
LoRd_MuldeR [Wed, 4 Nov 2020 22:46:43 +0000 (23:46 +0100)]
Fixed a bunch of warnings with legacy MinGW version.

3 years agoFixed a few warnings on Linux.
LoRd_MuldeR [Wed, 4 Nov 2020 22:17:59 +0000 (23:17 +0100)]
Fixed a few warnings on Linux.

3 years agoFix for older versions of 'dd' that did not support the 'status=none' flag.
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.

3 years agoAvoid the use of a "Trigraph" in the test data.
LoRd_MuldeR [Mon, 2 Nov 2020 23:49:56 +0000 (00:49 +0100)]
Avoid the use of a "Trigraph" in the test data.

3 years agoAdded support for link-time-optimizations.
LoRd_MuldeR [Sun, 1 Nov 2020 21:46:25 +0000 (22:46 +0100)]
Added support for link-time-optimizations.

3 years agoAdded build script for Windows.
LoRd_MuldeR [Sat, 31 Oct 2020 15:33:53 +0000 (16:33 +0100)]
Added build script for Windows.

3 years agoAdded helper script for profile-guided optimization (PGO).
LoRd_MuldeR [Thu, 29 Oct 2020 17:12:21 +0000 (18:12 +0100)]
Added helper script for profile-guided optimization (PGO).

3 years agoSome code clean-up.
LoRd_MuldeR [Wed, 28 Oct 2020 20:58:24 +0000 (21:58 +0100)]
Some code clean-up.

3 years agoUse __attribute__((destructor)), if supported by the compiler.
LoRd_MuldeR [Wed, 28 Oct 2020 15:21:01 +0000 (16:21 +0100)]
Use __attribute__((destructor)), if supported by the compiler.

3 years agoSome build fixes for old MSVC versions.
LoRd_MuldeR [Wed, 28 Oct 2020 14:57:34 +0000 (15:57 +0100)]
Some build fixes for old MSVC versions.

3 years agoAutomatically perform initialization when slunkcrypt_random_bytes() is called for...
LoRd_MuldeR [Wed, 28 Oct 2020 13:40:13 +0000 (14:40 +0100)]
Automatically perform initialization when slunkcrypt_random_bytes() is called for the first time.

3 years agoStore and load the Nonce as well as the CRC checksum in a byte-order-agnostic way.
LoRd_MuldeR [Tue, 27 Oct 2020 20:26:30 +0000 (21:26 +0100)]
Store and load the Nonce as well as the CRC checksum in a byte-order-agnostic way.

3 years agoImproved library initialization code.
LoRd_MuldeR [Mon, 26 Oct 2020 18:56:45 +0000 (19:56 +0100)]
Improved library initialization code.

3 years agoReplaced some endianness-specific code with endianness-agnostic functions.
LoRd_MuldeR [Sat, 24 Oct 2020 19:06:37 +0000 (21:06 +0200)]
Replaced some endianness-specific code with endianness-agnostic functions.

3 years agoC++ wrapper has been implemented.
LoRd_MuldeR [Sat, 24 Oct 2020 13:51:13 +0000 (15:51 +0200)]
C++ wrapper has been implemented.

3 years agoImplemented Win32 DLL support.
LoRd_MuldeR [Sat, 24 Oct 2020 13:06:12 +0000 (15:06 +0200)]
Implemented Win32 DLL support.

3 years agoAdded global (de)initialization functions.
LoRd_MuldeR [Thu, 22 Oct 2020 16:01:59 +0000 (18:01 +0200)]
Added global (de)initialization functions.

3 years agoImproved slunkcrypt_random_bytes() on Unix-systems without getrandom() support.
LoRd_MuldeR [Thu, 22 Oct 2020 14:52:34 +0000 (16:52 +0200)]
Improved slunkcrypt_random_bytes() on Unix-systems without getrandom() support.

3 years agoSolaris compile fix.
LoRd_MuldeR [Wed, 21 Oct 2020 19:58:46 +0000 (21:58 +0200)]
Solaris compile fix.

3 years agoUse RtlGenRandom() directly on the Windows platform.
LoRd_MuldeR [Wed, 21 Oct 2020 17:29:37 +0000 (19:29 +0200)]
Use RtlGenRandom() directly on the Windows platform.

3 years agoSome compatibility fixes for legacy MinGW and Cygwin.
LoRd_MuldeR [Wed, 21 Oct 2020 15:07:03 +0000 (17:07 +0200)]
Some compatibility fixes for legacy MinGW and Cygwin.

3 years agoSome code refactoring.
LoRd_MuldeR [Tue, 20 Oct 2020 20:13:39 +0000 (22:13 +0200)]
Some code refactoring.

3 years agoImproved signal handling on Linux/BSD.
LoRd_MuldeR [Tue, 20 Oct 2020 17:13:11 +0000 (19:13 +0200)]
Improved signal handling on Linux/BSD.

3 years agoSome compile fixes for Cygwin + improved Makefile to generate version info (on Windows).
LoRd_MuldeR [Tue, 20 Oct 2020 15:46:18 +0000 (17:46 +0200)]
Some compile fixes for Cygwin + improved Makefile to generate version info (on Windows).

3 years agoUpdated README file.
LoRd_MuldeR [Tue, 20 Oct 2020 13:33:03 +0000 (15:33 +0200)]
Updated README file.

3 years agoSome code refactoring.
LoRd_MuldeR [Tue, 20 Oct 2020 13:21:00 +0000 (15:21 +0200)]
Some code refactoring.

3 years agoRenamed project to "SlunkCrypt", in order to avoid name clashes with existing projects.
LoRd_MuldeR [Mon, 19 Oct 2020 19:56:12 +0000 (21:56 +0200)]
Renamed project to "SlunkCrypt", in order to avoid name clashes with existing projects.

3 years agoFixed initialization of read bytes counter in "encode" mode.
LoRd_MuldeR [Sun, 18 Oct 2020 22:32:33 +0000 (00:32 +0200)]
Fixed initialization of read bytes counter in "encode" mode.

3 years agoImplemented improved SIGINT handling.
LoRd_MuldeR [Sun, 18 Oct 2020 18:41:02 +0000 (20:41 +0200)]
Implemented improved SIGINT handling.

3 years agoFixed a few warnings.
LoRd_MuldeR [Sun, 18 Oct 2020 17:48:17 +0000 (19:48 +0200)]
Fixed a few warnings.

3 years agoSmall tweak.
LoRd_MuldeR [Fri, 16 Oct 2020 21:50:16 +0000 (23:50 +0200)]
Small tweak.

3 years agoMake it possible to read the passphrase from STDIN.
LoRd_MuldeR [Fri, 16 Oct 2020 17:33:12 +0000 (19:33 +0200)]
Make it possible to read the passphrase from STDIN.