Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
afdce47caa
Small code clean-up + improved the Makefile + detect GNU/Hurd operating system. 2022-04-23 20:25:58 +02:00
8b1b8aec64
Added built-time option SLUNKBUILD_NOTHREADS to disable threading + added simple "testbed" script. 2022-04-10 17:34:42 +02:00
801f812714
Replaced 'glibc' checks with more general 'linux' checks in order to better support alternative C libraries (e.g. musl libc). 2021-11-13 02:58:04 +01:00
c3a82530f1
Added simple release script. 2021-05-08 19:53:16 +02:00
acc52ce8d8
Small Makefile improvement. 2021-04-19 22:21:07 +02:00
0043b907a7
Small improvement to Makefile. 2021-04-07 01:40:05 +02:00
cf8aaf0c84
Fixed a bunch of warnings with legacy MinGW version. 2021-03-20 21:18:53 +01:00
6a37d76f35
Avoid the use of a "Trigraph" in the test data. 2021-03-20 21:18:50 +01:00
e105feb651
Added support for link-time-optimizations. 2021-03-20 21:18:49 +01:00
0fbc7f1fb9
Added build script for Windows. 2021-03-20 21:18:48 +01:00
37b6c40278
Added helper script for profile-guided optimization (PGO). 2021-03-20 21:18:47 +01:00
9c08cb9dd4
Use __attribute__((destructor)), if supported by the compiler. 2021-03-20 21:18:45 +01:00
f3f97110f6
Automatically perform initialization when slunkcrypt_random_bytes() is called for the first time. 2021-03-20 21:18:43 +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
39d9aab439
Some compatibility fixes for legacy MinGW and Cygwin. 2021-03-20 21:18:33 +01:00
aeb7d1af4a
Some compile fixes for Cygwin + improved Makefile to generate version info (on Windows). 2021-03-20 21:18:30 +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
701658dd96
Fixed a few warnings. 2021-03-20 21:18:18 +01:00
44fef04cbc
Some code clean-up. 2021-03-20 21:18:16 +01:00
53dcefacbb
Makefile improvements. 2021-03-20 21:18:15 +01:00
dc9fe30673
Added simple Makefile. 2021-03-20 21:18:10 +01:00