Home
last modified time | relevance | path

Searched refs:RAND_DRBG (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Drand_drbg.h61 RAND_DRBG *RAND_DRBG_new(int type, unsigned int flags, RAND_DRBG *parent);
62 RAND_DRBG *RAND_DRBG_secure_new(int type, unsigned int flags, RAND_DRBG *parent);
63 int RAND_DRBG_set(RAND_DRBG *drbg, int type, unsigned int flags);
65 int RAND_DRBG_instantiate(RAND_DRBG *drbg,
67 int RAND_DRBG_uninstantiate(RAND_DRBG *drbg);
68 void RAND_DRBG_free(RAND_DRBG *drbg);
73 int RAND_DRBG_reseed(RAND_DRBG *drbg,
76 int RAND_DRBG_generate(RAND_DRBG *drbg, unsigned char *out, size_t outlen,
79 int RAND_DRBG_bytes(RAND_DRBG *drbg, unsigned char *out, size_t outlen);
81 int RAND_DRBG_set_reseed_interval(RAND_DRBG *drbg, unsigned int interval);
[all …]
H A Dossl_typ.h118 typedef struct rand_drbg_st RAND_DRBG; typedef
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rand/
H A Ddrbg_lib.c49 static RAND_DRBG *master_drbg;
89 static RAND_DRBG *drbg_setup(RAND_DRBG *parent);
91 static RAND_DRBG *rand_drbg_new(int secure,
94 RAND_DRBG *parent);
103 int RAND_DRBG_set(RAND_DRBG *drbg, int type, unsigned int flags) in RAND_DRBG_set()
186 static RAND_DRBG *rand_drbg_new(int secure, in rand_drbg_new()
189 RAND_DRBG *parent) in rand_drbg_new()
191 RAND_DRBG *drbg = secure ? OPENSSL_secure_zalloc(sizeof(*drbg)) in rand_drbg_new()
250 RAND_DRBG *RAND_DRBG_new(int type, unsigned int flags, RAND_DRBG *parent) in RAND_DRBG_new()
255 RAND_DRBG *RAND_DRBG_secure_new(int type, unsigned int flags, RAND_DRBG *parent) in RAND_DRBG_secure_new()
[all …]
H A Drand_local.h102 typedef int (*RAND_DRBG_instantiate_fn)(RAND_DRBG *ctx,
110 typedef int (*RAND_DRBG_reseed_fn)(RAND_DRBG *ctx,
116 typedef int (*RAND_DRBG_generate_fn)(RAND_DRBG *ctx,
122 typedef int (*RAND_DRBG_uninstantiate_fn)(RAND_DRBG *ctx);
187 RAND_DRBG *parent;
294 int rand_drbg_restart(RAND_DRBG *drbg,
296 size_t rand_drbg_seedlen(RAND_DRBG *drbg);
298 int rand_drbg_lock(RAND_DRBG *drbg);
299 int rand_drbg_unlock(RAND_DRBG *drbg);
300 int rand_drbg_enable_locking(RAND_DRBG *drbg);
[all …]
H A Ddrbg_ctr.c224 __owur static int ctr_update(RAND_DRBG *drbg, in ctr_update()
270 __owur static int drbg_ctr_instantiate(RAND_DRBG *drbg, in drbg_ctr_instantiate()
291 __owur static int drbg_ctr_reseed(RAND_DRBG *drbg, in drbg_ctr_reseed()
318 __owur static int drbg_ctr_generate(RAND_DRBG *drbg, in drbg_ctr_generate()
392 static int drbg_ctr_uninstantiate(RAND_DRBG *drbg) in drbg_ctr_uninstantiate()
408 int drbg_ctr_init(RAND_DRBG *drbg) in drbg_ctr_init()
H A Drand_lib.c129 size_t rand_drbg_get_entropy(RAND_DRBG *drbg, in rand_drbg_get_entropy()
218 void rand_drbg_cleanup_entropy(RAND_DRBG *drbg, in rand_drbg_cleanup_entropy()
234 size_t rand_drbg_get_nonce(RAND_DRBG *drbg, in rand_drbg_get_nonce()
273 void rand_drbg_cleanup_nonce(RAND_DRBG *drbg, in rand_drbg_cleanup_nonce()
396 RAND_DRBG *drbg = RAND_DRBG_get0_master(); in RAND_poll()
928 RAND_DRBG *drbg; in RAND_priv_bytes()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DRAND_DRBG_new.pod12 - initialize and cleanup a RAND_DRBG instance
19 RAND_DRBG *RAND_DRBG_new(int type,
21 RAND_DRBG *parent);
23 RAND_DRBG *RAND_DRBG_secure_new(int type,
25 RAND_DRBG *parent);
27 int RAND_DRBG_set(RAND_DRBG *drbg,
32 int RAND_DRBG_instantiate(RAND_DRBG *drbg,
35 int RAND_DRBG_uninstantiate(RAND_DRBG *drbg);
37 void RAND_DRBG_free(RAND_DRBG *drbg);
98 For a detailed description of the reseeding process, see L<RAND_DRBG(7)>.
[all …]
H A DRAND_DRBG_get0_master.pod8 - get access to the global RAND_DRBG instances
14 RAND_DRBG *RAND_DRBG_get0_master(void);
15 RAND_DRBG *RAND_DRBG_get0_public(void);
16 RAND_DRBG *RAND_DRBG_get0_private(void);
64 L<RAND_DRBG(7)>
68 The RAND_DRBG functions were added in OpenSSL 1.1.1.
H A DRAND_DRBG_set_ex_data.pod14 int RAND_DRBG_set_ex_data(RAND_DRBG *drbg, int idx, void *data);
16 void *RAND_DRBG_get_ex_data(const RAND_DRBG *drbg, int idx);
28 specific data B<data> in a RAND_DRBG instance B<drbg>. The index B<idx> should
32 in an RAND_DRBG instance B<drbg>. The B<idx> value should be the same as that
57 L<RAND_DRBG(7)>
H A DRAND_DRBG_reseed.pod9 - reseed a RAND_DRBG instance
15 int RAND_DRBG_reseed(RAND_DRBG *drbg,
19 int RAND_DRBG_set_reseed_interval(RAND_DRBG *drbg,
22 int RAND_DRBG_set_reseed_time_interval(RAND_DRBG *drbg,
101 L<RAND_DRBG(7)>
105 The RAND_DRBG functions were added in OpenSSL 1.1.1.
H A DRAND_DRBG_set_callbacks.pod17 int RAND_DRBG_set_callbacks(RAND_DRBG *drbg,
27 RAND_DRBG *drbg,
34 RAND_DRBG *drbg,
38 RAND_DRBG *drbg,
44 RAND_DRBG *drbg,
131 L<RAND_DRBG(7)>
135 The RAND_DRBG functions were added in OpenSSL 1.1.1.
H A DRAND_DRBG_generate.pod13 int RAND_DRBG_generate(RAND_DRBG *drbg,
18 int RAND_DRBG_bytes(RAND_DRBG *drbg,
73 L<RAND_DRBG(7)>
77 The RAND_DRBG functions were added in OpenSSL 1.1.1.
H A DRAND_bytes.pod30 and L<RAND_DRBG(7)>.
65 L<RAND_DRBG(7)>
H A DBN_rand.pod69 L<RAND_DRBG(7)>
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Ddrbgtest.c132 static size_t kat_entropy(RAND_DRBG *drbg, unsigned char **pout, in kat_entropy()
143 static size_t kat_nonce(RAND_DRBG *drbg, unsigned char **pout, in kat_nonce()
153 static int uninstantiate(RAND_DRBG *drbg) in uninstantiate()
166 RAND_DRBG *drbg = NULL; in single_kat()
255 static int init(RAND_DRBG *drbg, DRBG_SELFTEST_DATA *td, TEST_CTX *t) in init()
274 static int instantiate(RAND_DRBG *drbg, DRBG_SELFTEST_DATA *td, in instantiate()
289 RAND_DRBG *drbg = NULL; in error_check()
497 RAND_DRBG *drbg;
512 static HOOK_CTX *get_hook_ctx(RAND_DRBG *drbg) in get_hook_ctx()
518 static size_t get_entropy_hook(RAND_DRBG *drbg, unsigned char **pout, in get_entropy_hook()
[all …]
H A Ddrbg_cavs_test.c34 static size_t kat_entropy(RAND_DRBG *drbg, unsigned char **pout, in kat_entropy()
45 static size_t kat_nonce(RAND_DRBG *drbg, unsigned char **pout, in kat_nonce()
68 RAND_DRBG *drbg = NULL; in single_kat_no_reseed()
127 RAND_DRBG *drbg = NULL; in single_kat_pr_false()
191 RAND_DRBG *drbg = NULL; in single_kat_pr_true()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/crypto/
H A Drand.h45 size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
49 void rand_drbg_cleanup_entropy(RAND_DRBG *drbg,
51 size_t rand_drbg_get_nonce(RAND_DRBG *drbg,
54 void rand_drbg_cleanup_nonce(RAND_DRBG *drbg,
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man7/
H A DRAND.pod36 For more details on reseeding and error recovery, see L<RAND_DRBG(7)>.
60 parameters of the underlying DRBG, which is described in detail in L<RAND_DRBG(7)>.
76 L<RAND_DRBG(7)>
H A DRAND_DRBG.pod5 RAND_DRBG - the deterministic random bit generator
13 The default OpenSSL RAND method is based on the RAND_DRBG class,
20 application developers for obtaining random bytes, the RAND_DRBG API
28 it is in general not necessary to utilize the RAND_DRBG API directly.
100 RAND_DRBG interface.
103 locking via the RAND_DRBG interface.
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/
H A Drand.pod28 For more details, see L<RAND_bytes(3)>, L<RAND(7)>, and L<RAND_DRBG(7)>.
84 L<RAND_DRBG(7)>
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dtypes.h154 typedef struct rand_drbg_st RAND_DRBG; typedef
/netbsd-src/crypto/external/bsd/openssl.old/lib/libcrypto/
H A Dman.inc244 RAND_DRBG.7 \
/netbsd-src/crypto/external/bsd/openssl/lib/libcrypto/
H A Dman.inc455 RAND_DRBG.7 \
/netbsd-src/crypto/external/bsd/openssl/dist/util/
H A Dindent.pro641 -T RAND_DRBG
/netbsd-src/crypto/external/bsd/openssl.old/dist/util/
H A Dindent.pro640 -T RAND_DRBG

12