Get the latest tech news

A cryptographically secure bootloader for RISC-V in Rust


A summary of a Codethink sponsored project which implements a cryptographically secure bootloader, written in Rust, for RISC-V.

SentinelBoot is a cryptographically secure bootloader aimed at enhancing boot flow safety of RISC-V through memory-safe principles, predominantly leveraging the Rust programming language with its ownership, borrowing, and lifetime constraints. The actual transmission is handled by a memory-mapped chip, so we need to set the configuration and wrap the raw register interactions with an API in order to enforce checks around unsafe operations. By developing SentinelBoot, the utilisation of the Rust programming language (and memory-safe principles) to improve the memory safety of RISC-V bootflow has been shown, all while additionally implementing a cryptographic secure boot mechanism.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of secure bootloader

secure bootloader

Related news:

News photo

DARPA Wants to Automatically Transpile C Code Into Rust - Using AI

News photo

Rust-Written 'Redox OS' Now Has a Working Web Server

News photo

Rust-Written Redox OS Now Has A Working Web Server