Commit Graph

21 Commits

Author SHA1 Message Date
f3dc0757ab
Implemented optional debug logging. Writes to the syslog (Unix) or debugger (Windows). 2022-10-14 00:44:19 +02:00
38cf7c3c25
Some code refactoring + adjust number of random skips. 2022-10-13 21:39:48 +02:00
147d762ebc
Implemented modified and somewhat faster initialization code.
As this unavoidably breaks compatibility with pre-1.3.x versions, added a new flag to 'slunkparam_t' that enables backwards compatibility mode.
Also extended the self-test code to test the new initialization, in addition to the "legacy" initialization.
2022-10-13 02:26:51 +02:00
d988fd0a56
Added flag to indicate multi-thread support to the public API. 2022-09-23 22:21:01 +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
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
c32c85d8c9
Much improved threading support. 2022-03-22 23:01:19 +01:00
06f57ca483
Clean up function names. 2021-04-02 16:37:19 +02:00
e6511aec5e
Revamped the stepping algorithm. 2021-04-01 23:44:13 +02:00
471e08737b
Replaced separate encrypt() and decrypt() functions with a single process() function + added 'mode' parameter to alloc() and reset() functions. 2021-04-01 01:58:39 +02:00
c8cd0fc699
Tweak minimum/maximum password lengths. 2021-03-26 01:14:33 +01:00
adea0bada1
Added examples on how to use the C++11 API + added explicit compiler checks. 2021-03-24 20:21:59 +01:00
6c26203c30
Some code clean-up. 2021-03-20 21:18:46 +01:00
f3f97110f6
Automatically perform initialization when slunkcrypt_random_bytes() is called for the first time. 2021-03-20 21:18:43 +01:00
ae3318a12f
Improved library initialization code. 2021-03-20 21:18:41 +01:00
ec7176feba
C++ wrapper has been implemented. 2021-03-20 21:18:39 +01:00
49cc6ec674
Implemented Win32 DLL support. 2021-03-20 21:18:38 +01:00
77c2cda5ee
Added global (de)initialization functions. 2021-03-20 21:18:38 +01:00
20d7632fcb
Some code refactoring. 2021-03-20 21:18:28 +01:00
f671aef3d7
Renamed project to "SlunkCrypt", in order to avoid name clashes with existing projects. 2021-03-20 21:18:27 +01:00