Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /usr/include/bind9/isc/ |
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* 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 https://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
#pragma once
#include <stdlib.h>
#include <isc/lang.h>
/*! \file isc/nonce.h
* \brief Provides a function for generating an arbitrarily long nonce.
*/
ISC_LANG_BEGINDECLS
void
isc_nonce_buf(void *buf, size_t buflen);
/*!<
* Fill 'buf', up to 'buflen' bytes, with random data from the
* crypto provider's random function.
*/
ISC_LANG_ENDDECLS