fidl_data_zbi/
secure_entropy.rs

1// Copyright 2022 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// DO NOT EDIT.
6// Generated from FIDL library `zbi` by zither, a Fuchsia platform tool.
7
8#![allow(unused_imports)]
9
10use zerocopy::IntoBytes;
11
12/// ZBI_TYPE_SECURE_ENTROPY item subtypes (for zbi_header_t.extra)
13#[repr(u32)]
14#[derive(Clone, Copy, Debug, Eq, IntoBytes, PartialEq)]
15pub enum SecureEntropy {
16    /// Contents are used to seed the kernel's PRNG.
17    General = 0,
18
19    /// Contents are used by early boot, before the kernel is fully
20    /// operational.
21    EarlyBoot = 1,
22}