[PATCH] schemas: add rng-seed node schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is based on kernel patch "fdt: add support for rng-seed".

Signed-off-by: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
---
 schemas/chosen.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/schemas/chosen.yaml b/schemas/chosen.yaml
index a768215..a35fea8 100644
--- a/schemas/chosen.yaml
+++ b/schemas/chosen.yaml
@@ -51,6 +51,21 @@ properties:
       the Linux EFI stub (which will populate the property itself, using
       EFI_RNG_PROTOCOL).

+  rng-seed:
+    allOf:
+      - $ref: types.yaml#definitions/uint8-array
+    description:
+      This property served as an entropy to add device randomness. It is parsed
+      as a byte array, e.g.
+
+      /{
+             chosen {
+                     rng-seed = <0x31 0x95 0x1b 0x3c 0xc9 0xfa 0xb3 ...>;
+             };
+      };
+
+      This random value should be provided by bootloader.
+
   linux,booted-from-kexec:
     type: boolean
     description:
-- 
2.22.0.rc1.257.g3120a18244-goog




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux