summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2018-03-30 21:07:25 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-04-03 18:47:04 -0700
commit44c81deec45960c4e3f7f6b11999c28419f6c2ef (patch)
treedf4a705bc8ace51b81e286e1c8f075583f2d12f1 /board
parentaef3b58a407a022b20bc597b69e981ee02b2d920 (diff)
downloadchrome-ec-44c81deec45960c4e3f7f6b11999c28419f6c2ef.tar.gz
cr50: prepare using blobs as RMA key sources
This patch brings in both prod and test RMA server public keys as two binary files. A bash script for converting binary blob into C definition is also provided. BRANCH=cr50, cr50-mp BUG=b:73296144, b:74100307 TEST=none yet Change-Id: I2edd78164b8c912408ac7eda2e0a3a0262a8e81f Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/990782 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/cr50/rma_key_blob.README.md6
-rw-r--r--board/cr50/rma_key_blob.prodbin0 -> 33 bytes
-rw-r--r--board/cr50/rma_key_blob.test1
3 files changed, 7 insertions, 0 deletions
diff --git a/board/cr50/rma_key_blob.README.md b/board/cr50/rma_key_blob.README.md
new file mode 100644
index 0000000000..8270086bfe
--- /dev/null
+++ b/board/cr50/rma_key_blob.README.md
@@ -0,0 +1,6 @@
+The rma_key_blob.{prod,test} files in this directory are 33 byte binary blobs
+concatenating the 32 byte of respective public key used by prod or test RMA
+server and one byte of the key ID.
+
+The util/bin2h.sh script is used to convert these binary blobs into .h
+file containing a #define statement which is suitable for use in C.
diff --git a/board/cr50/rma_key_blob.prod b/board/cr50/rma_key_blob.prod
new file mode 100644
index 0000000000..54e8fd5a1d
--- /dev/null
+++ b/board/cr50/rma_key_blob.prod
Binary files differ
diff --git a/board/cr50/rma_key_blob.test b/board/cr50/rma_key_blob.test
new file mode 100644
index 0000000000..c8b0062e64
--- /dev/null
+++ b/board/cr50/rma_key_blob.test
@@ -0,0 +1 @@
+®-,#às Ó·’¬TÅý~œð¨ë~*µÛôy_Š(? \ No newline at end of file