1 /* $NetBSD: nonce.c,v 1.4 2021/02/19 16:42:19 christos Exp $ */ 2 3 /* 4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14 #include <isc/nonce.h> 15 16 #include "entropy_private.h" 17 18 void 19 isc_nonce_buf(void *buf, size_t buflen) { 20 isc_entropy_get(buf, buflen); 21 } 22