esp8266ndn
NDN Arduino library for ESP8266 and more
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
w
Typedefs
a
b
c
e
g
h
i
k
m
n
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
v
w
Typedefs
b
c
d
i
k
l
m
o
p
r
s
t
v
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
_
e
l
n
Macros
_
e
l
n
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
NDNph
src
ndnph
port
random
null.hpp
Go to the documentation of this file.
1
#ifndef NDNPH_PORT_RANDOM_NULL_HPP
2
#define NDNPH_PORT_RANDOM_NULL_HPP
3
4
#include "../../core/common.hpp"
5
6
namespace
ndnph
{
7
namespace
port_random_null {
8
10
class
RandomSource
{
11
public
:
12
RandomSource
() =
delete
;
13
18
static
bool
generate
(uint8_t* output,
size_t
count) {
19
std::fill_n(output, count, 0);
20
return
false
;
21
}
18
static
bool
generate
(uint8_t* output,
size_t
count) {
…
}
22
};
10
class
RandomSource
{
…
};
23
24
}
// namespace port_random_null
7
namespace
port_random_null {
…
}
25
26
#ifdef NDNPH_PORT_RANDOM_NULL
27
namespace
port {
28
using
RandomSource
= port_random_null::RandomSource;
29
}
// namespace port
30
#endif
31
32
}
// namespace ndnph
33
34
#endif
// NDNPH_PORT_RANDOM_NULL_HPP
ndnph::port_random_null::RandomSource
Random bytes generator stub.
Definition
null.hpp:10
ndnph::port_random_null::RandomSource::RandomSource
RandomSource()=delete
ndnph::port_random_null::RandomSource::generate
static bool generate(uint8_t *output, size_t count)
Fill output[0:count] with random bytes.
Definition
null.hpp:18
ndnph::port::RandomSource
esp8266ndn::ndnph_port::RandomSource RandomSource
Definition
random.hpp:28
ndnph
Definition
fs.hpp:33
Generated by
1.9.8