diff options
author | Vadim Sukhomlinov <sukhomlinov@google.com> | 2021-09-17 09:52:05 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-17 20:44:14 +0000 |
commit | 469a4055e4b71bf2a8550e837401c255a8f06416 (patch) | |
tree | 8432203fe297e1399aca8dd1d918d87646484935 /test | |
parent | 222f2fb900fc74a369aa80163219eba323f1ad75 (diff) | |
download | chrome-ec-469a4055e4b71bf2a8550e837401c255a8f06416.tar.gz |
cr50: remove unused and empty struct APPKEY_CTX from APIs
struct APPKEY_CTX is an empty struct passed with few APIs and not used
for any purpose. Remove it.
BUG=none
TEST=make BOARD=cr50 CRYPTO_TEST=1;
Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com>
Change-Id: I4bcb8f196b70cefc58a81e8592d83aa70464fcf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169374
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/pinweaver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pinweaver.c b/test/pinweaver.c index f755373b76..21bd30396d 100644 --- a/test/pinweaver.c +++ b/test/pinweaver.c @@ -949,13 +949,13 @@ int DCRYPTO_aes_ctr(uint8_t *out, const uint8_t *key, uint32_t key_bits, } /* 1 for success 0 for fail*/ -int DCRYPTO_appkey_init(enum dcrypto_appid appid, struct APPKEY_CTX *ctx) +int DCRYPTO_appkey_init(enum dcrypto_appid appid) { MOCK_hwctx_appkey = appid; return 1; } -void DCRYPTO_appkey_finish(struct APPKEY_CTX *ctx) +void DCRYPTO_appkey_finish(void) { MOCK_hwctx_appkey = 0; } |