File tree Expand file tree Collapse file tree 1 file changed +0
-62
lines changed
Expand file tree Collapse file tree 1 file changed +0
-62
lines changed Original file line number Diff line number Diff line change @@ -137,38 +137,6 @@ int wc_InitRng(WC_RNG* rng);
137137*/
138138int wc_RNG_GenerateBlock (WC_RNG * rng , byte * b , word32 sz );
139139
140- /*!
141- \ingroup Random
142-
143- \brief Creates a new WC_RNG structure.
144-
145-
146- \return WC_RNG structure on success
147- \return NULL on error
148-
149-
150- \param heap pointer to a heap identifier
151- \param nonce pointer to the buffer containing the nonce
152- \param nonceSz length of the nonce
153-
154- _Example_
155- \code
156- RNG rng;
157- byte nonce[] = { initialize nonce };
158- word32 nonceSz = sizeof(nonce);
159-
160- wc_rng_new(&nonce, nonceSz, &heap);
161-
162-
163- \endcode
164-
165- \sa wc_InitRng
166- \sa wc_rng_free
167- \sa wc_FreeRng
168- \sa wc_RNG_HealthTest
169- */
170- WC_RNG * wc_rng_new (byte * nonce , word32 nonceSz , void * heap )
171-
172140/*!
173141 \ingroup Random
174142
@@ -243,36 +211,6 @@ int wc_RNG_GenerateByte(WC_RNG* rng, byte* b);
243211*/
244212int wc_FreeRng (WC_RNG * rng );
245213
246- /*!
247- \ingroup Random
248-
249- \brief Should be called when RNG no longer needed in order to securely
250- free rng.
251-
252-
253- \param rng random number generator initialized with wc_InitRng
254-
255- _Example_
256- \code
257- RNG rng;
258- byte nonce[] = { initialize nonce };
259- word32 nonceSz = sizeof(nonce);
260-
261- rng = wc_rng_new(&nonce, nonceSz, &heap);
262-
263- // use rng
264-
265- wc_rng_free(&rng);
266-
267- \endcode
268-
269- \sa wc_InitRng
270- \sa wc_rng_new
271- \sa wc_FreeRng
272- \sa wc_RNG_HealthTest
273- */
274- WC_RNG * wc_rng_free (WC_RNG * rng );
275-
276214/*!
277215 \ingroup Random
278216
You can’t perform that action at this time.
0 commit comments