danicoin/src/crypto/random.h

12 lines
317 B
C
Raw Normal View History

// Copyright (c) 2011-2016 The Cryptonote developers
2014-03-03 22:07:58 +00:00
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
2013-11-14 22:28:17 +00:00
#pragma once
#if !defined(__cplusplus)
2013-11-14 22:28:17 +00:00
#include <stddef.h>
#endif
2013-11-14 22:28:17 +00:00
2014-03-03 22:07:58 +00:00
void generate_random_bytes(size_t n, void *result);