|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
7f643ad566
|
Do not request more than 256 bytes of random data from getentropy() at once.
|
2021-04-21 16:02:25 +02:00 |
|
|
b63dfd1a44
|
Switch to using getentropy() function, because it is available on OpenBSD and it doesn't require an additional header.
|
2021-04-20 21:59:51 +02:00 |
|
|
2e93d8dc28
|
Fall back to /dev/urandom, if compiled with getrandom() support but that syscall is not available at runtime.
|
2021-04-17 20:07:22 +02:00 |
|
|
a656e9de37
|
Refactored key-derivation code into a separate file + some code clean-up.
|
2021-04-17 15:13:13 +02:00 |
|
|
9d5a103201
|
Fixed a few warnings on Linux.
|
2021-03-20 21:18:52 +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 |
|
|
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 |
|
|
77c2cda5ee
|
Added global (de)initialization functions.
|
2021-03-20 21:18:38 +01:00 |
|