From cd6c3a0feffe3f89eef81cf864bc1e9d36d9f109 Mon Sep 17 00:00:00 2001 From: Marius Schilder Date: Mon, 19 Jun 2017 18:01:29 -0700 Subject: [PATCH] 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 Commit-Ready: Vadim Bendebury Tested-by: Marius Schilder Reviewed-by: Marius Schilder Reviewed-by: Vadim Bendebury --- chip/g/dcrypto/internal.h | 2 -- 1 file changed, 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,