commit | 3f268c688363102bad6c3be80726b40a6958174c | [log] [tgz] |
---|---|---|
author | Tommy Chiu <tommychiu@google.com> | Fri May 21 15:40:16 2021 +0800 |
committer | Tommy Chiu <tommychiu@google.com> | Thu May 27 06:36:45 2021 +0000 |
tree | 5d69efc04eff7ca137a7d503e96822cfa5c09ee3 | |
parent | e2d28b1e1ef99731700e11012d4a96452ebaf0be [diff] |
keymint: Extend hmac_sharing_params max_count to 10 The restriction of hmac parameters used to be 3 however it turns to 4 on keystore2. There's no detail specification on the number, just extend to 10 to avoid surprise. Bug: 188728065 Test: VtsAidlSharedSecretTargetTest and boot to HOME Change-Id: I83f889a438fb305f93a21ef53460ccc036eab933 Reviewed-on: https://nugget-os-review.googlesource.com/c/host/generic/+/43644 Tested-by: Tommy Chiu <tommychiu@google.com> Reviewed-by: Tommy Chiu <tommychiu@google.com> Reviewed-by: Randall Spangler <rspangler@google.com> Reviewed-by: Joseph Jang <josephjang@google.com> Presubmit-Verified: TreeHugger Robot <android-build-prod@system.gserviceaccount.com> Presubmit-Verified-Together: TreeHugger Robot <android-build-prod@system.gserviceaccount.com>
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.