commit | 55427964b1073e566acfa36786bc4ab3ad901b9c | [log] [tgz] |
---|---|---|
author | Jarno Lamsa <jarno.lamsa@arm.com> | Mon Apr 29 10:25:23 2019 +0300 |
committer | Jarno Lamsa <jarno.lamsa@arm.com> | Mon Apr 29 10:25:23 2019 +0300 |
tree | 3bf24cca72c4be7fee430f74010eec71ee1f48ab | |
parent | 8557fc9220e202be49e40e876b269f1743b7896f [diff] [blame] |
Guard tinycrypt files with MBEDTLS_USE_UECC
diff --git a/tinycrypt/ecc_dsa.c b/tinycrypt/ecc_dsa.c index 9a4c0a5..d3e72a5 100644 --- a/tinycrypt/ecc_dsa.c +++ b/tinycrypt/ecc_dsa.c
@@ -53,6 +53,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#if defined(MBEDTLS_USE_UECC) #include <tinycrypt/ecc.h> #include <tinycrypt/ecc_dsa.h> @@ -292,3 +293,4 @@ return (int)(uECC_vli_equal(rx, r, num_words) == 0); } +#endif /* MBEDTLS_USE_UECC */