summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2018-06-11 09:54:31 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-06-11 17:29:53 -0700
commit620f21d07b57bec1a6483365ab24a99b00f8babf (patch)
tree018ecafa505d4d644a2f31848be8814f763ccc0b
parent6298200bb724031757c78469d79c2453bef3481e (diff)
downloadchrome-ec-620f21d07b57bec1a6483365ab24a99b00f8babf.tar.gz
cr50: enable p256 curve for RMA unlock
P256 key provisioning is complete, let's move RMA unlock to p256, this frees up 5328 bytes in the flash. BRANCH=cr50, cr50-mp BUG=b:73296606 TEST=verified that dev key is properly accepted by the server, prod key will be tested when prod image is signed. Change-Id: I7d86bb2b793c32181f47f5354ad9db603aa49881 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1095535 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/cr50/board.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 86214ff297..9a2f79717b 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -359,10 +359,10 @@ enum nvmem_users {
#define CONFIG_PINWEAVER
/*
- * While RMA server support is not ready keep using x25519. Switching to P256
- * saves 5336 bytes of flash space.
+ * Disabling p256 will result in RMA Auth falling back to the x25519 curve
+ * which in turn would require extra 5328 bytes of flash space.
*/
-/* #define CONFIG_RMA_AUTH_USE_P256 */
+#define CONFIG_RMA_AUTH_USE_P256
#ifndef CONFIG_RMA_AUTH_USE_P256
#define CONFIG_CURVE25519
#endif