2018-05-28 09:22:23 -04:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
|
|
|
*
|
2021-06-03 02:37:05 -04:00
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*
|
2018-05-28 09:22:23 -04:00
|
|
|
* 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
|
2020-09-14 19:20:40 -04:00
|
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
2018-05-28 09:22:23 -04:00
|
|
|
*
|
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
|
* information regarding copyright ownership.
|
|
|
|
|
*/
|
|
|
|
|
|
2022-09-22 04:36:53 -04:00
|
|
|
#include <isc/entropy.h>
|
2018-05-28 09:22:23 -04:00
|
|
|
#include <isc/nonce.h>
|
|
|
|
|
|
2018-05-30 16:43:39 -04:00
|
|
|
void
|
2020-02-13 17:44:37 -05:00
|
|
|
isc_nonce_buf(void *buf, size_t buflen) {
|
2018-05-30 16:14:38 -04:00
|
|
|
isc_entropy_get(buf, buflen);
|
2018-05-28 09:22:23 -04:00
|
|
|
}
|