summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Schilder <mschilder@google.com>2017-06-19 18:01:29 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-06-20 15:28:49 -0700
commitcd6c3a0feffe3f89eef81cf864bc1e9d36d9f109 (patch)
tree62afdc3fd6f2df74b4e60a97a619ac61c7271b96
parent5f523464bb04b508e265de6304a92683742ffe2e (diff)
downloadchrome-ec-cd6c3a0feffe3f89eef81cf864bc1e9d36d9f109.tar.gz
g: remove obsolete dcrypto_init definition
No boards are referencing old dcrypto_init at this point; all have moved to dcrypto_init_and_lock BUG=none BRANCH=cr50 TEST=buildall Change-Id: I04c96608c5459470d87e67046912ca7c02e6332a Reviewed-on: https://chromium-review.googlesource.com/540779 Commit-Ready: Marius Schilder <mschilder@chromium.org> Commit-Ready: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--chip/g/dcrypto/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/g/dcrypto/internal.h b/chip/g/dcrypto/internal.h
index bb88707e0f..2864af9b86 100644
--- a/chip/g/dcrypto/internal.h
+++ b/chip/g/dcrypto/internal.h
@@ -117,8 +117,6 @@ int dcrypto_p256_is_valid_point(const p256_int *x, const p256_int *y)
* the mutex.
*/
void dcrypto_init_and_lock(void);
-/* TODO(mschilder): remove once sub projects are updated to avoid build breakages */
-#define crypto_init dcrypto_init_and_lock
void dcrypto_unlock(void);
uint32_t dcrypto_call(uint32_t adr) __attribute__((warn_unused_result));
void dcrypto_imem_load(size_t offset, const uint32_t *opcodes,