commit | 4c0124783177dafc4206dd229b4e759fbaba5e16 | [log] [tgz] |
---|---|---|
author | Will Drewry <drewry@google.com> | Mon Mar 26 12:48:43 2018 -0500 |
committer | Will Drewry <drewry@google.com> | Thu Mar 29 10:29:14 2018 -0500 |
tree | cfe68f26b40c31e6866ca5583e446f67d7f9032b | |
parent | 4e5e03a434cff74a45cbd86958457bbfcdb2c708 [diff] |
avb.proto: add resetchallenge and getproduction Enable a server-side authorization for transitioning out of production mode, instead of relying on the current bootloader state. To support that, this change adds an argument to Reset(), a new ResetChallenge() call, and GetProduction() for assessing the current state. Test: topic branch works against red board with system tests Bug: none Change-Id: Icdb2cb794cac43913e9769d95c867719969e9591
Nugget will be used in different contexts and with different hosts. This repo contains the components that can be shared between those hosts.
nugget
The nugget
directory contains items that are shared between the host and the firmware. Those include:
libnos
libnos
is a C++ library for communication with a Nugget device. It offers an interface to manage a connection and exchange data and a generator for RPC stubs based on service protos.
libnos_datagram
libnos_datagram
is a C library for exchanging datagrams with a Nugget device. This directory only contains the API of the library as the different platforms will need to implement it differently.
libnos_transport
libnos_transport
is a C library for communicating with a Nugget device via the transport API. This is built on top of the libnos_datagram
library for exchanging datagrams.