mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/tweetnacl: Remove unused includes in randombytes
This commit is contained in:
parent
dbccf06c5e
commit
d59a311b1f
@ -7,12 +7,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "random.h"
|
#include "random.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
void randombytes(uint8_t *target, uint64_t n)
|
void randombytes(uint8_t *target, uint64_t n)
|
||||||
{
|
{
|
||||||
/* tweetnacl needs uint64_t as "n" parameter, random provides uint32 */
|
/* tweetnacl needs uint64_t as "n" parameter, random provides uint32 */
|
||||||
|
Loading…
Reference in New Issue
Block a user