|
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 |
|