Save a little bit of RAM by getting rid of overkill CMWC4096 non-crypto PRNG and replacing it with a simple non-crypto PRNG that just uses Salsa20.
This commit is contained in:
parent
41fc08b330
commit
3f567a07ca
6 changed files with 32 additions and 104 deletions
|
@ -38,7 +38,6 @@ namespace ZeroTier {
|
|||
class NodeConfig;
|
||||
class Switch;
|
||||
class Topology;
|
||||
class CMWC4096;
|
||||
class Node;
|
||||
class Multicaster;
|
||||
class AntiRecursion;
|
||||
|
@ -55,7 +54,6 @@ public:
|
|||
node(n),
|
||||
identity(),
|
||||
localNetworkController((NetworkController *)0),
|
||||
prng((CMWC4096 *)0),
|
||||
sw((Switch *)0),
|
||||
mc((Multicaster *)0),
|
||||
antiRec((AntiRecursion *)0),
|
||||
|
@ -83,7 +81,6 @@ public:
|
|||
* These are constant and never null after startup unless indicated.
|
||||
*/
|
||||
|
||||
CMWC4096 *prng;
|
||||
Switch *sw;
|
||||
Multicaster *mc;
|
||||
AntiRecursion *antiRec;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue