From 15982d671556d366b0de8880713ec3705b096926 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 11 Jul 2023 16:07:24 -0300 Subject: [PATCH] feat: initialize random entropy from device tree --- src/cartesi-machine.lua | 4 +- src/machine.cpp | 8 +- src/rng-seed.h | 239 ++++++++++++++++++++++++++++++++++++++++ src/rom.cpp | 3 + 4 files changed, 250 insertions(+), 4 deletions(-) create mode 100644 src/rng-seed.h diff --git a/src/cartesi-machine.lua b/src/cartesi-machine.lua index 844b4d900..a666619f5 100755 --- a/src/cartesi-machine.lua +++ b/src/cartesi-machine.lua @@ -402,8 +402,8 @@ local memory_range_replace = {} local ram_image_filename = images_path .. "linux.bin" local ram_length = 64 << 20 local rom_image_filename = nil -local rom_bootargs = - "console=hvc0 rootfstype=ext2 root=/dev/mtdblock0 rw quiet swiotlb=noforce init=/opt/cartesi/bin/init" +local rom_bootargs = "console=hvc0 rootfstype=ext2 root=/dev/mtdblock0 rw quiet \z + swiotlb=noforce init=/opt/cartesi/bin/init random.trust_bootloader=on" local rollup local uarch local rollup_advance diff --git a/src/machine.cpp b/src/machine.cpp index 8f331b04e..50748e4d3 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -64,12 +64,16 @@ const pma_entry::flags machine::m_ram_flags{ PMA_ISTART_DID::memory // DID }; +// The ROM is not really read-only, this might seem counter-intuitive at first. +// When we pass a RNG seed in a FDT stored in ROM, +// Linux will wipe out its contents as a security measure, +// therefore we need to make ROM writable, otherwise boot will hang. const pma_entry::flags machine::m_rom_flags{ true, // R - false, // W + true, // W true, // X true, // IR - false, // IW + true, // IW PMA_ISTART_DID::memory // DID }; diff --git a/src/rng-seed.h b/src/rng-seed.h new file mode 100644 index 000000000..249f8fb82 --- /dev/null +++ b/src/rng-seed.h @@ -0,0 +1,239 @@ +// Copyright 2023 Cartesi Pte. Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. +// + +#ifndef RNG_SEED_H +#define RNG_SEED_H + +namespace cartesi { + +// Fixed entropy built in FDT, used by Linux to initialize its PRNG entropy +static constexpr uint8_t FDT_RNG_SEED[4096] = {0x92, 0xd8, 0x1b, 0xb4, 0x96, 0x70, 0xc5, 0x77, 0x9a, 0x93, 0x8a, 0x33, + 0xd5, 0x31, 0xff, 0x45, 0x91, 0x56, 0x36, 0x9b, 0x16, 0xb8, 0x35, 0xf0, 0x6a, 0xac, 0xd7, 0xc3, 0xef, 0xea, 0xe9, + 0x99, 0x41, 0x4d, 0x5a, 0xcb, 0xc7, 0xf4, 0x80, 0x79, 0xd8, 0xfb, 0x42, 0x29, 0xe5, 0x61, 0x5c, 0xa4, 0x1f, 0x09, + 0x44, 0x68, 0x7c, 0x21, 0xe9, 0x7c, 0x2f, 0xd3, 0x5d, 0x30, 0x6f, 0x3e, 0x45, 0xd8, 0x6c, 0xb9, 0x3d, 0x5e, 0x04, + 0x86, 0xe2, 0xae, 0x1f, 0xc8, 0x0b, 0xd2, 0x4e, 0x87, 0x00, 0x3a, 0xaa, 0xd6, 0x74, 0xb9, 0x7b, 0x5f, 0x50, 0xc7, + 0xad, 0x61, 0xff, 0x71, 0x69, 0x0e, 0x8a, 0x32, 0x59, 0x8f, 0xce, 0xc3, 0x4e, 0x96, 0x9f, 0xbb, 0xe5, 0x85, 0xb0, + 0x7d, 0xd7, 0x3f, 0x44, 0x09, 0x56, 0x9b, 0x83, 0x1b, 0x89, 0xfe, 0x58, 0xf6, 0x33, 0xf6, 0x91, 0xad, 0x3e, 0x27, + 0xc7, 0xf8, 0xe8, 0x08, 0x6d, 0xdb, 0x8e, 0x58, 0xca, 0x60, 0xff, 0x92, 0xdc, 0xdd, 0x21, 0xf2, 0x2b,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fe, 0x0e, 0x95, 0xca, 0x58, 0xe2, 0x04, 0x56, 0x40, 0x57, + 0xeb, 0xcc, 0x9d, 0x3a, 0xff, 0xe4, 0xc6, 0xb1, 0xaf, 0x7a, 0x5c, 0x3a, 0xe8, 0x2b, 0x5f, 0xfa, 0x74, 0x4c, 0x3b, + 0x95, 0x3b, 0x60, 0xae, 0xb0, 0x2b, 0xc5, 0xa2, 0x59, 0x89, 0xa4, 0x1a, 0xea, 0x6a, 0x15, 0x8b, 0x46, 0x91, 0xb6, + 0xab, 0xea, 0x98, 0x81, 0x49, 0x9a, 0x7d, 0x11, 0xae, 0x7d, 0x67, 0xfe, 0x95, 0x7b, 0x70, 0xd5, 0xcd, 0x6b, 0x56, + 0x3b, 0x80, 0x4e, 0xa6, 0xc0, 0x3b, 0x9d, 0xac, 0x97, 0x1e, 0xab, 0x36, 0x28, 0xb2, 0x39, 0xca, 0x06, 0x13, 0xe9, + 0x6e, 0x95, 0xb7, 0xf4, 0x97, 0x54, 0x37, 0x93, 0x47, 0x2c, 0x3b, 0x23, 0x64, 0x62, 0x41, 0xfc, 0xab, 0xfe, 0x9d, + 0x70, 0x1e, 0xe0, 0x09, 0x65, 0xa3, 0xc8, 0x1d, 0x86, 0x08, 0x35, 0x63, 0x3d, 0xbb, 0xae, 0x44, 0x8f, 0x9d, 0x97, + 0xcc, 0x55, 0x33, 0x92, 0x50, 0x46, 0xf0, 0xb2, 0x34, 0x45, 0xc3, 0x08, 0x39, 0x92, 0xc4, 0xab, 0xc3, 0x19, 0x35, + 0xa5, 0x10, 0xc1, 0x90, 0x9f, 0xed, 0xcf, 0xb7, 0x64, 0xe1, 0xd7, 0xae, 0xa2, 0xcd, 0xb4, 0xf7, 0x0c, 0x81, 0x39, + 0xb6, 0xc4, 0xf0, 0x36, 0x17, 0x12, 0x7b, 0x69, 0xad, 0xaa, 0xc8, 0x19, 0x0d, 0xa0, 0x2e, 0x41, 0x98, 0x24, 0x72, + 0x82, 0x98, 0xa6, 0x51,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0xb4, 0x92, 0xc7, 0xa9, + 0x8c, 0xe2, 0x16, 0x7f, 0x45, 0x3e, 0xfd, 0xdf, 0x0d, 0xd5, 0x6c, 0x68, 0xb9, 0x20, 0x68, 0xed, 0x92, 0xd6, 0x5d, + 0x18, 0x43, 0xff, 0x59, 0x78, 0xee, 0x65, 0x47, 0xe9, 0xd0, 0x8f, 0xb0, 0xb1, 0x65, 0x00, 0xb4, 0x42, 0x5c, 0x52, + 0xff, 0xf5, 0xcd, 0x13, 0xab, 0xc5, 0xce, 0x1b, 0x48, 0xc1, 0x68, 0x6a, 0x61, 0x45, 0xb0, 0xf6, 0xdd, 0x1a, 0x1a, + 0x4b, 0x92, 0x31, 0xe5, 0x4c, 0xf1, 0x37, 0xda, 0xd4, 0x96, 0x60, 0x75, 0x32, 0xec, 0xf4, 0x24, 0xdf, 0xbd, 0x03, + 0x2a, 0x7b, 0x10, 0x59, 0xff, 0xc8, 0x08, 0x1f, 0x74, 0xce, 0xeb, 0xbd, 0x5c, 0x2d, 0xe7, 0x0e, 0x56, 0x34, 0x5b, + 0x3e, 0xed, 0xc2, 0x97, 0x80, 0xac, 0x8c, 0x77, 0x60, 0x8e, 0x29, 0x57, 0x3d, 0x00, 0xac, 0xff, 0x0c, 0x94, 0x07, + 0x1d, 0x14, 0x52, 0x10, 0x16, 0x56, 0x27, 0x8f, 0x04, 0x01, 0x42, 0x36, 0x71, 0x6a, 0xfa, 0x66, 0x1d, 0x1c, 0x72, + 0x34, 0xe2, 0x10, 0xb5, 0xdf, 0x62, 0x4d, 0x86, 0xa8, 0x7f, 0x99, 0x8b, 0x67, 0xc6, 0xa9, 0xbb, 0x80, 0xf9, 0x78, + 0xbc, 0xf8, 0xfe, 0x18, 0x8b, 0xa2, 0x8e, 0xfc, 0x58, 0x00, 0x19, 0x24, 0x50, 0x45, 0xa7, 0x8a, 0xca, 0xe9, 0x30, + 0x1f, 0x1f, 0x8a, 0x62, 0x29, 0xa2, 0x05, 0x17, 0x4c, 0x01,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0xf0, 0xf3, + 0x4e, 0x74, 0x56, 0xfc, 0x83, 0xec, 0x83, 0x2f, 0xd1, 0x07, 0xb5, 0x3b, 0x01, 0x18, 0xbc, 0x28, 0xe0, 0xc9, 0x44, + 0x25, 0xa1, 0xdb, 0xd5, 0x8b, 0x57, 0x7a, 0x25, 0x7b, 0xaa, 0xc1, 0xd3, 0xf8, 0xb6, 0x87, 0x6e, 0xb4, 0xdc, 0x45, + 0xee, 0x84, 0x7c, 0x34, 0x38, 0xb0, 0xc2, 0x43, 0xd4, 0x7c, 0x89, 0xcc, 0xe3, 0x85, 0x82, 0xf1, 0xaf, 0xe9, 0x04, + 0xc7, 0xe3, 0x5d, 0x63, 0x98, 0x43, 0xe6, 0xa4, 0x33, 0xdc, 0xf6, 0x80, 0x46, 0xf4, 0x5e, 0x99, 0x22, 0x5b, 0x6d, + 0x9c, 0x56, 0x25, 0xe4, 0x26, 0xb1, 0x82, 0x9e, 0xeb, 0xee, 0x48, 0x9e, 0x20, 0xab, 0xf2, 0x8b, 0xc3, 0xdf, 0x45, + 0xe0, 0x3f, 0x2c, 0xd9, 0xcf, 0x02, 0x3a, 0x6b, 0x3c, 0x64, 0x68, 0xff, 0x5c, 0x75, 0x09, 0xcc, 0x2c, 0x72}; + +} // namespace cartesi + +#endif diff --git a/src/rom.cpp b/src/rom.cpp index b89d65831..7104c0e73 100644 --- a/src/rom.cpp +++ b/src/rom.cpp @@ -26,6 +26,7 @@ #include "machine-c-version.h" #include "pma-constants.h" #include "riscv-constants.h" +#include "rng-seed.h" #include "rom.h" #include "rtc.h" @@ -80,6 +81,8 @@ void rom_init_device_tree(const machine_config &c, unsigned char *rom_start, uin { // chosen fdt.begin_node("chosen"); fdt.prop_string("bootargs", c.rom.bootargs); + // ??(edubart): make this configurable in machine config? + fdt.prop("rng-seed", FDT_RNG_SEED, sizeof(FDT_RNG_SEED)); fdt.end_node(); }