#ifndef RND_H #define RND_H #define HIG_ENTROPY_SOURCE "/dev/random" #define LOW_ENTROPY_SOURCE "/dev/urandom" /* secrand is not really secure, but the name only suggests it's better to use * than rand(3) when transferring bytes over the network in non-security * critical structure members. secrand() is only used to fill up salts actually. */ extern int secrand(void); extern void gen_key_bytes(unsigned char *area, size_t len); #endif /* RND_H */ itory'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-06-02 21:30:48 -0300
committerRob Herring <robh@kernel.org>2016-06-08 08:13:31 -0500
commit3eefa7e8cc8516d737a6a961914e20501eb2a952 (patch)
treec1485fc30620742fb858637341191463810b428e
parentf83803305b008ca3d75b00092b6493bc19eda60b (diff)
dt-bindings: Add vendor prefix for TechNexion
TechNexion designs and manufactures embedded computing systems: http://www.technexion.com/ Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Rob Herring <robh@kernel.org>