blob: a7fb89c5d88777f8121fb5838ad35f17a65de8e4 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library zx;
[Transport = "Syscall"]
protocol cprng {
cprng_draw_once() -> (status status, vector_void buffer);
/// Draw from the kernel's CPRNG.
cprng_draw() -> (vector_void buffer);
/// Add entropy to the kernel CPRNG.
cprng_add_entropy(vector_void buffer) -> (status status);