Commit Graph

173 Commits

Author SHA1 Message Date
d988fd0a56
Added flag to indicate multi-thread support to the public API. 2022-09-23 22:21:01 +02:00
c4b869981f
Small improvement in initialize_once() and fixed a Clang warning. 2022-09-21 23:42:10 +02:00
4383c5f858
Fixed building the library *without* pthread support. 2022-09-21 00:00:18 +02:00
cc4b9c8af3
Enable the "-pedantic" option for GCC + fixed a few warnings. 2022-09-20 21:53:57 +02:00
0c91cac7e4
Clean up includes in "front-end" application. 2022-09-20 21:52:23 +02:00
f665d1cf2a
Improved regression test script. 2022-07-24 16:07:48 +02:00
5e7b6ebb09
Updated Linux build script to better match the officially supported Debian platforms. 2022-06-18 22:30:45 +02:00
ae340c4070
GUI: Implemented detection of the ARM64 architecture via IsWow64Process2() function. 2022-05-24 22:31:40 +02:00
17018e4f86
Added support for building SlunkCrypt for the Windows on ARM64 platform. 2022-05-24 22:31:40 +02:00
f6cd289725
Support for MIPS architecture + small improvement to Linux cross-build script. 2022-05-21 17:32:18 +02:00
3901bd6a1d
Small fix to make error messages in encrypt() and decrypt() more consistent. 2022-05-10 20:36:07 +02:00
f18a84b6c9
Enable explicit_bzero() and getentropy() on DragonFly platform + enable explicit_bzero() on Haiku platform (requires linking against libbsd). 2022-05-08 16:46:32 +02:00
fc2784b256
Some improvements to musl libc build script. 2022-05-07 18:55:22 +02:00
207039f4f7
Small improvement to Makefile + fixed compilation with µClibc, which does *not* provide getentropy() or explicit_bzero() + enable these functions on Solaris/Illumos. 2022-05-07 17:55:03 +02:00
69e549aafd
Added support for the Haiku operating system. 2022-04-26 22:03:08 +02:00
56e30d6d6a
Updated README file. 2022-04-24 14:51:04 +02:00
afdce47caa
Small code clean-up + improved the Makefile + detect GNU/Hurd operating system. 2022-04-23 20:25:58 +02:00
5fbe240b51
Updated Linux build script + added script to build musl libc for all target platforms. 2022-04-19 20:53:09 +02:00
e78b144413
Enable the GUI to use the "AVX2" binary, if supported on the current machine. 2022-04-18 18:52:55 +02:00
86b4f64f86
Updated pthreads libraries for the Windows platform (pthread4w) to version 3.0.0. 2022-04-17 01:49:03 +02:00
2cee77b108
Adjust I/O buffer size according to file size + allow slightly bigger maximum buffer size. 2022-04-17 00:43:21 +02:00
8b1b8aec64
Added built-time option SLUNKBUILD_NOTHREADS to disable threading + added simple "testbed" script. 2022-04-10 17:34:42 +02:00
50955210ac
Small improvement to platform detection. 2022-04-08 23:10:27 +02:00
70e9d2d3b5
Fixed slunkcrypt_reset() when no thread pool is allocated, e.g. when thread count is 1. 2022-04-07 00:15:07 +02:00
e4f28439c3
GUI: Small improvement to setting up the PATH and working directory of the child process. 2022-04-05 21:29:27 +02:00
eb7b5e0db1
Simplify release script for Linux + drop the separate PGO scripts. 2022-04-04 23:47:10 +02:00
45829c4317
Added support for setting the number threads in the GUI + some improvements application configuration handling. 2022-04-03 19:23:58 +02:00
7359ce3673
Enhanced self-test routine + added macro to "safely" free SlunkCrypt instance. 2022-04-02 17:27:48 +02:00
69df385d57
Detect the number of available CPU cores by using either sched_getaffinity(), GetProcessAffinityMask() or sysconf(), depending on the target platform. 2022-04-01 20:33:46 +02:00
fdc1c8b0d8
Refactored progress indicator update + increase file I/O buffer size. 2022-03-29 22:58:47 +02:00
342562cf2e
Slightly improved thread management code. 2022-03-25 20:48:14 +01:00
f70ccb6a14
Some code refactoring in the thread pool module. 2022-03-24 21:59:43 +01:00
d0be7ad5a5
Make it possible to set number of threads in the front-end + updated the README file. 2022-03-24 00:06:01 +01:00
a4aec9f3fe
Updated pthreads library for the Windows platform (pthreads4w). 2022-03-24 00:06:01 +01:00
c32c85d8c9
Much improved threading support. 2022-03-22 23:01:19 +01:00
ddefc8c142
Initial thread support. 2022-03-21 21:11:46 +01:00
c607046831
Implemented improved method for detecting identical files. 2022-03-04 20:56:20 +01:00
ca16052112
Some code refactoring. 2022-03-01 23:34:50 +01:00
b95e578e33
Print the system error message, if the input or output file could not be opened. 2022-02-27 19:38:10 +01:00
65c17e6759
Make sure that input file name and output file name are distinct (to the extent possible). 2022-02-25 00:12:52 +01:00
9b0d109336
Refactored process event handler class + added new "random password" icon. 2022-02-11 22:02:50 +01:00
65f08d43a5
Replaced clock() function by clock_gettime() on Linux and QueryPerformanceFrequency() on Windows. 2022-02-11 21:52:22 +01:00
18e398a1e7
Refactored the ProcessRunner and PasswordGen classes. 2022-02-10 22:55:52 +01:00
5dfaabf6c4
GUI: Replaced the built-in password generator with call to SlunkCrypt CLI program + bump target framework version to 4.5.2. 2022-02-09 23:52:09 +01:00
b39b7cafaa
Small improvement to the password generator. 2022-02-08 22:53:02 +01:00
c63c3bffe6
Make sure that the requested number of random bytes is fully read, even if a single read() invocation returned fewer than "count" bytes. 2022-02-08 22:46:33 +01:00
956e79ecc6
Increment patch version. 2022-01-27 21:51:53 +01:00
1c587be39b
Gracefully handle an *empty* argument array (argc < 1), which apparently is possible on Linux and maybe others. 2022-01-27 00:21:28 +01:00
4caad0d279
Updated the README file. 2021-11-16 21:15:01 +01:00
d2ea1a7a7c
Implemented application configuration setting to disable the busy indicator (by default). 2021-11-13 17:18:42 +01:00