mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 02:15:14 +00:00
5dcff8b0798c2432f570a63a2c03b067c2d9de7f
Implement system_get_chip_unique_id() for the g hardware. It includes the hardware revision, the chip device id and the read-only key id. The key-id is included because this unique id is used as serial number inside certificates and for security reason, we want a different id if the RO has changed (e.g Node locked firmware). The id is also 32-byte long for convenience reason when used for certificates, but the high 16 bytes are currently zeros. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=cr50 BUG=b:35545754 TEST=dump the x.509 individual attestation certificate which includes the unique id as serial number. Change-Id: If24597d0de696d2700122d425724f14703fc5256 Reviewed-on: https://chromium-review.googlesource.com/536774 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%