Commit Graph

75 Commits

Author SHA1 Message Date
73f2e71342
Revamped the stepping algorithm. 2021-03-27 22:41:31 +01:00
c8cd0fc699
Tweak minimum/maximum password lengths. 2021-03-26 01:14:33 +01:00
baa6705f85
Renamed the C++ wrapper classes + updated README file. 2021-03-24 21:34:46 +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
7a40d62b06
Make sure that not all RNG state variables are initialized to a zero value. 2021-03-20 21:19:14 +01:00
1b049d5291
Some improvements to the PRNG code. 2021-03-20 21:19:12 +01:00
11951fc33b
Fixed bug in upper_u64() function. 2021-03-20 21:19:11 +01:00
111c714c6a
Small tweak to the key derivation function. 2021-03-20 21:19:08 +01:00
9d5a103201
Fixed a few warnings on Linux. 2021-03-20 21:18:52 +01:00
0fbc7f1fb9
Added build script for Windows. 2021-03-20 21:18:48 +01:00
6c26203c30
Some code clean-up. 2021-03-20 21:18:46 +01:00
9c08cb9dd4
Use __attribute__((destructor)), if supported by the compiler. 2021-03-20 21:18:45 +01:00
9e1894b539
Some build fixes for old MSVC versions. 2021-03-20 21:18:44 +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
b577afba49
Replaced some endianness-specific code with endianness-agnostic functions. 2021-03-20 21:18:40 +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
180945bd1b
Improved slunkcrypt_random_bytes() on Unix-systems without getrandom() support. 2021-03-20 21:18:36 +01:00
183b40f97d
Solaris compile fix. 2021-03-20 21:18:35 +01:00
24574712d1
Use RtlGenRandom() directly on the Windows platform. 2021-03-20 21:18:35 +01:00
39d9aab439
Some compatibility fixes for legacy MinGW and Cygwin. 2021-03-20 21:18:33 +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