Consistently use the name tinycrypt over uecc

We called in tinycrypt in the file names, but uecc in config.h, all.sh and
other places, which could be confusing. Just use tinycrypt everywhere because
that's the name of the project and repo where we took the files.

The changes were made using the following commands (with GNU sed and zsh):

sed -i 's/uecc/tinycrypt/g' **/*.[ch] tests/scripts/all.sh
sed -i 's/MBEDTLS_USE_UECC/MBEDTLS_USE_TINYCRYPT/g' **/*.[ch] tests/scripts/all.sh scripts/config.pl
This commit is contained in:
Manuel Pégourié-Gonnard 2019-05-09 11:24:11 +02:00
parent 8751e35751
commit afdc1b5cbd
12 changed files with 36 additions and 36 deletions

View file

@ -66,7 +66,7 @@
* Security: The curve NIST p-256 provides approximately 128 bits of security.
*/
#if defined(MBEDTLS_USE_UECC)
#if defined(MBEDTLS_USE_TINYCRYPT)
#ifndef __TC_ECC_DH_H__
#define __TC_ECC_DH_H__
@ -130,4 +130,4 @@ int uECC_shared_secret(const uint8_t *p_public_key, const uint8_t *p_private_key
#endif
#endif /* __TC_ECC_DH_H__ */
#endif /* MBEDTLS_USE_UECC */
#endif /* MBEDTLS_USE_TINYCRYPT */