#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 */ .git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-23 23:00:22 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2016-12-09 08:52:29 +0100
commitad595b77c4a8553516a5d76c9ecf68a0ff13960e (patch)
tree0e81258890332583cc79d71c96ec05379244aca7
parentf2a0c53402990ee106a8ec329b00fc527d6e0773 (diff)
m68k/atari: Use seq_puts() in atari_get_hardware_list()
A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>