commit | ebfdd37d831fbafe11aba84141c7e4e90a555f4a | [log] [tgz] |
---|---|---|
author | nagendra modadugu <ngm@google.com> | Wed Oct 25 23:52:25 2017 -0700 |
committer | Nagendra Modadugu <ngm@google.com> | Fri Oct 27 15:44:56 2017 +0000 |
tree | 87e45c4a98b46953f61f6b7735af858ebac855d5 | |
parent | 36d100dc5e3b4d98a03f5726f0ca45ffaf13e997 [diff] |
keymaster: introduce keymaster enums Having enums specified in proto files makes them easier to share between environments. NOTE: the names of enums maintain fidelity to those specified by the HAL, but the values differ. The values had to change as nanopb allows enums to span 28-bits, whereas the HAL uses all 32-bits. Change-Id: I44510bba48675f238f90f9e4a6ec01202129bd05
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.