diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-03-28 16:59:11 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-04-11 20:22:32 -0700 |
commit | 629c3964a2bd8a92d61daaef633fc0cc5e65bc10 (patch) | |
tree | 47e4ea499f0f51db0d344f9c683a8f38e7fa36b7 /common | |
parent | 3f0714c1e29dab5817dfe1aa8733c7235ea85ee4 (diff) | |
download | chrome-ec-629c3964a2bd8a92d61daaef633fc0cc5e65bc10.tar.gz |
common: Split rwsig parts from rsa.h header
We're going to add more rwsig-related functions, and adding them
to rsa.h seems increasingly incorrect.
BRANCH=none
BUG=b:35587171
TEST=make buildall -j
Change-Id: I334c1774ce9a6ed8e219140f65ebe94d653e22d2
Reviewed-on: https://chromium-review.googlesource.com/468708
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/firmware_image.lds.S | 2 | ||||
-rw-r--r-- | common/fmap.c | 2 | ||||
-rw-r--r-- | common/main.c | 2 | ||||
-rw-r--r-- | common/rwsig.c | 1 | ||||
-rw-r--r-- | common/system.c | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/common/firmware_image.lds.S b/common/firmware_image.lds.S index 665743d878..30d7ebb0cc 100644 --- a/common/firmware_image.lds.S +++ b/common/firmware_image.lds.S @@ -4,7 +4,7 @@ */ #include "config.h" -#include "rsa.h" +#include "rwsig.h" OUTPUT_FORMAT(BFD_FORMAT, BFD_FORMAT, BFD_FORMAT) OUTPUT_ARCH(BFD_ARCH) diff --git a/common/fmap.c b/common/fmap.c index eb2a883b5f..9b649c7db2 100644 --- a/common/fmap.c +++ b/common/fmap.c @@ -7,7 +7,7 @@ #include <stddef.h> #include "common.h" -#include "rsa.h" +#include "rwsig.h" #include "util.h" #include "version.h" diff --git a/common/main.c b/common/main.c index a5f6e6a3b1..dff6c6a126 100644 --- a/common/main.c +++ b/common/main.c @@ -21,7 +21,7 @@ #ifdef CONFIG_MPU #include "mpu.h" #endif -#include "rsa.h" +#include "rwsig.h" #include "system.h" #include "task.h" #include "timer.h" diff --git a/common/rwsig.c b/common/rwsig.c index d2218ba77e..931a74cbf2 100644 --- a/common/rwsig.c +++ b/common/rwsig.c @@ -11,6 +11,7 @@ #include "ec_commands.h" #include "rollback.h" #include "rsa.h" +#include "rwsig.h" #include "sha256.h" #include "shared_mem.h" #include "system.h" diff --git a/common/system.c b/common/system.c index 25ba9dea2c..b9e444c71c 100644 --- a/common/system.c +++ b/common/system.c @@ -15,7 +15,7 @@ #include "host_command.h" #include "i2c.h" #include "lpc.h" -#include "rsa.h" +#include "rwsig.h" #include "spi_flash.h" #ifdef CONFIG_MPU #include "mpu.h" |