Commit Graph

40 Commits

Author SHA1 Message Date
0fbc7f1fb9
Added build script for Windows. 2021-03-20 21:18:48 +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
0f7c309034
Store and load the Nonce as well as the CRC checksum in a byte-order-agnostic way. 2021-03-20 21:18:42 +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
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
1a31602d2a
Some code refactoring. 2021-03-20 21:18:33 +01:00
64fa094b9f
Improved signal handling on Linux/BSD. 2021-03-20 21:18:32 +01:00
aeb7d1af4a
Some compile fixes for Cygwin + improved Makefile to generate version info (on Windows). 2021-03-20 21:18:30 +01:00
23df735ba2
Updated README file. 2021-03-20 21:18:29 +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
61a7d1155e
Fixed initialization of read bytes counter in "encode" mode. 2021-03-20 21:18:26 +01:00
895b2812a6
Implemented improved SIGINT handling. 2021-03-20 21:18:25 +01:00
65ce21963b
Fixed a few warnings. 2021-03-20 21:18:24 +01:00
1b5d8a7d4c
Make it possible to read the passphrase from STDIN. 2021-03-20 21:18:22 +01:00
b820b75f5d
Fixed a name conflict on Linux. 2021-03-20 21:18:21 +01:00
15a091cc49
Some attempt to clear the passphrase command-line argument from the memory. 2021-03-20 21:18:21 +01:00
3683d2c450
Slightly improved key derivation function + allow to read passphrase from environment. 2021-03-20 21:18:19 +01:00
dcd7153973
Improved self-test code. 2021-03-20 21:18:18 +01:00
701658dd96
Fixed a few warnings. 2021-03-20 21:18:18 +01:00
7f76fb2cbd
Improved stepping algorithm. 2021-03-20 21:18:17 +01:00
44fef04cbc
Some code clean-up. 2021-03-20 21:18:16 +01:00
985dcfd6ee
FreeBSD compile fix. 2021-03-20 21:18:14 +01:00
a3fd6360e1
Make it possible to read the passphrase from a file. 2021-03-20 21:18:13 +01:00
270c8b4ecd
Some simplification. 2021-03-20 21:18:12 +01:00
1639e130db
Randomize stepping. 2021-03-20 21:18:12 +01:00
46b3e15594
Added self-test mode. 2021-03-20 21:18:10 +01:00
698f4fa3c9
Code clean-up. 2021-03-20 21:18:08 +01:00
2c42cf5f92
Code clean-up. 2021-03-20 21:18:07 +01:00
3d5b480e70
Linux build fix. 2021-03-20 21:18:05 +01:00
7a95a1a561
Use the getrandom() syscall on systems that support it. 2021-03-20 21:18:05 +01:00
75f929e4e5
Linux compile fixes. 2021-03-20 21:18:03 +01:00
865702f879
Code clean-up. 2021-03-20 21:18:02 +01:00
3b118ecc25
Code clean-up. 2021-03-20 21:18:01 +01:00
13f8af3628
Some code refactoring + improved command-line front-end. 2021-03-20 21:18:00 +01:00