repo.or.cz
/
gnutls.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
added memory handling section
[gnutls.git]
/
lib
/
gnutls_random.h
blob
7d55822e562a5aeb2c1821fb939ec320b3550b0a
1
#include
"defines.h"
2
3
#ifndef USE_GCRYPT
4
# define GNUTLS_WEAK_RANDOM 0
5
# define GNUTLS_STRONG_RANDOM 1
6
#else
7
# define GNUTLS_WEAK_RANDOM GCRY_WEAK_RANDOM
8
# define GNUTLS_STRONG_RANDOM GCRY_STRONG_RANDOM
9
#endif
10
11
int
_gnutls_get_random
(
opaque
*
res
,
int
bytes
,
int
);