Browse Source
Clarify that randombytes.c is not at all random
master
Thom Wiggers
5 years ago
No known key found for this signature in database
GPG Key ID: 1BB0A7CE26E363
1 changed files with
9 additions and
0 deletions
-
common/notrandombytes.c
|
|
@@ -1,3 +1,12 @@ |
|
|
|
/** |
|
|
|
* WARNING |
|
|
|
* |
|
|
|
* This file generates a PREDICTABLE and NOT AT ALL RANDOM sequence of bytes. |
|
|
|
* |
|
|
|
* Its purpose is to support our testing suite and it MUST NOT be used in any |
|
|
|
* scenario where you are expecting actual cryptography to happen. |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <stdint.h> |
|
|
|
#include "randombytes.h" |
|
|
|
|