summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/freebl/det_rng.h
blob: 599d726ca2267408345853d59d486ae426ab3a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef __det_rng_h_
#define __det_rng_h_

SECStatus prng_ResetForFuzzing(PZLock *rng_lock);
SECStatus prng_GenerateDeterministicRandomBytes(PZLock *rng_lock, void *dest,
                                                size_t len);

#endif /* __det_rng_h_ */