1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

Clarify that randombytes.c is not at all random

This commit is contained in:
Thom Wiggers 2019-01-15 16:10:27 +01:00
parent a2ee9cbadb
commit 96ae01ef1b
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -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 <stdint.h>
#include "randombytes.h" #include "randombytes.h"