class DevicetreeSecureEntropyItem

Defined at line 1053 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h

Extracts randomness from the bootloader provided bytes in the devicetree.

`/chosen` may contain two properties that provide random bytes:

* 'kaslr-seed` see

https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/chosen.yaml#L35

* `rng-seed` see

https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/chosen.yaml#L55C1-L56C1

When extracted, the devicetree bytes are cleared.

Public Members

static const uint8_t kFillPattern

Public Methods

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 47 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-secure-entropy-item.cc

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 47 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-secure-entropy-item.cc

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 47 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-secure-entropy-item.cc

fit::result<DataZbi::Error> AppendItems (DataZbi & zbi)

Defined at line 47 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-secure-entropy-item.cc

devicetree::ScanState OnNode (const devicetree::NodePath & path, const devicetree::PropertyDecoder & decoder)

Defined at line 61 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-secure-entropy-item.cc

size_t size_bytes ()

Defined at line 1058 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h