[BREAKGLASS] Append-only mirror of github.com/signalapp/noise-c
Per its documentation, `noise_rand_bytes` returns "cryptographically-strong random bytes from the operating system." On Windows, the existing implementation of the function does not check that the `CryptGenRandom` API succeeds. While failure is unlikely, it is prudent to actually check. If merged this commit will cause the process to exit if the function is not able to generate the requested number of random bytes; the code also checks that the provided buffer is non-null and that the number of bytes requested is non-zero. |
||
|---|---|---|
| doc | ||
| examples | ||
| include | ||
| m4 | ||
| src | ||
| tests | ||
| tools | ||
| .gitignore | ||
| .gitmodules | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog | ||
| configure.ac | ||
| COPYING | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| README.md | ||
Noise-C Library
Noise-C is a plain C implementation of the Noise Protocol, intended as a reference implementation. It can also be referred to as "Noisy", which is what you get when you say "Noise-C" too fast. The code is distributed under the terms of the MIT license.
The documentation contains more information on the library, examples, and how to build it.
For more information on this library, to report bugs, to contribute, or to suggest improvements, please contact the author Rhys Weatherley via email.