Browse Source

Clarify that randombytes.c is not at all random

master
Thom Wiggers 5 years ago
parent
commit
96ae01ef1b
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      common/notrandombytes.c

common/randombytes.c → common/notrandombytes.c 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 "randombytes.h"


Loading…
Cancel
Save