Open Se Cura, an open source framework for developing secure AI systems

Open Se Cura

Open Se Cura is to develop a set of open source design tools and IP libraries

Google recently announced , through a blog post, the launch of a new project called Open SeCura, which aims to simplify the creation of secure chips designed to solve problems related to machine learning and artificial intelligence.

It is mentioned that among the application areas of Open Se Cura, are specialized chips that require a special level of protection and confirmation of the absence of failures. For example, the platform can be used in machine learning products related to the processing of sensitive information, such as systems for recognizing people and processing voice recordings.

Formerly known internally as Project Sparrow, Project Open Se Cura is a testament to our commitment to open source development. Our goal with Open Se Cura is to develop a set of open source design tools and IP libraries that will accelerate the development of complete systems with machine learning workloads through co-design and development. This will allow us to better focus system designs around security, efficiency and scalability, powering the next generation of AI experiences.

About Open Se Cura

Open Se Cura features the CantripOS operating system under its hood, while on the hardware side, it is based on the OpenTitan platform and a processor core based on the RISC-V architecture.

The CantripOS operating system is based on the seL4 microkernel, on which a system environment written in Rust runs . In RISC-V systems, a mathematical reliability test is provided for the seL4 microkernel, indicating that the code fully complies with the specifications defined in the formal language. The seL4 architecture is notable for moving the kernel resource management components into user space and applying the same access control tools to these resources as to user resources.

The microkernel does not provide ready-to-use high-level abstractions for managing files, processes, network connections, and the like; instead, it provides only minimal mechanisms for controlling access to the physical address space, interrupts, and processor resources.

High-level abstractions and drivers for interacting with the hardware are implemented separately on top of the microkernel as user-level tasks. Access to the resources available to the microkernel by these tasks is managed through the definition of rules.

All components of the operating system, except for the microkernel, are originally written in Rust using safe programming techniques that minimize errors when working with memory. Among other things, an application loader in the seL4 environment, system services, an application development framework, an API for accessing system calls, a process manager, and a dynamic memory allocation mechanism are written in Rust.

The compilation is verified using CAmkES, which is developed by the seL4 project. To develop end-user applications that the system services can dynamically load, the AmbiML SDK and the IREE (Intermediate Representation Execution Environment) toolkit are proposed for running machine learning models. Rust system components and services are developed using the Cantrip framework.

Finally, it is worth mentioning that Google was not the only one involved in the project's development . The non-profit organization lowRISC, which oversees the development of a free microprocessor based on the RISC-V architecture, was also involved in the development of tools and infrastructure elements, as were the companies Antmicro and VeriSilicon.

The processor developed by lowRISC was used as the core to build trusted hardware components (Root of Trust). Antmicro provided the project with a Renode simulator that allows testing CantripOS and the seL4 microkernel without real hardware. VeriSilicon shared its experience in the field of chip creation and BSP (Board Support Package) development.

If you are interested in learning more about it , you should know that the project's developments, including the source code for the system services and the RTL schemes, are distributed under the Apache 2.0 license.

Source: https://opensource.googleblog.com


Add as preferred source in Google