lilliput-ae-reference-implementation

Implementations of Lilliput-AE submitted to the NIST LWC standardization process
git clone https://git.kevinlegouguec.net/lilliput-ae-reference-implementation
Log | Files | Refs | README

random.h (648B)


      1 /*
      2 Implementation of the Lilliput-AE tweakable block cipher.
      3 
      4 Authors, hereby denoted as "the implementer":
      5     Kévin Le Gouguec,
      6     2019.
      7 
      8 For more information, feedback or questions, refer to our website:
      9 https://paclido.fr/lilliput-ae
     10 
     11 To the extent possible under law, the implementer has waived all copyright
     12 and related or neighboring rights to the source code in this file.
     13 http://creativecommons.org/publicdomain/zero/1.0/
     14 
     15 ---
     16 
     17 This file provides an interface to generate random bytes.
     18 */
     19 
     20 #ifndef RANDOM_H
     21 #define RANDOM_H
     22 
     23 #include <stddef.h>
     24 #include <stdint.h>
     25 
     26 
     27 void randombytes(size_t nb, uint8_t out[nb]);
     28 
     29 
     30 #endif /* RANDOM_H */