Merge remote-tracking branch 'public/pr/2932' into baremetal

This commit is contained in:
Simon Butcher 2019-12-05 14:32:31 +00:00
commit 5b45c6e1b3
11 changed files with 22 additions and 24 deletions

View file

@ -73,7 +73,6 @@
*
*/
#if defined(MBEDTLS_USE_TINYCRYPT)
#ifndef __TC_UECC_H__
#define __TC_UECC_H__
@ -535,4 +534,3 @@ void uECC_vli_bytesToNative(unsigned int *native, const uint8_t *bytes,
#endif
#endif /* __TC_UECC_H__ */
#endif /* MBEDTLS_USE_TINYCRYPT */

View file

@ -71,7 +71,6 @@
* Security: The curve NIST p-256 provides approximately 128 bits of security.
*/
#if defined(MBEDTLS_USE_TINYCRYPT)
#ifndef __TC_ECC_DH_H__
#define __TC_ECC_DH_H__
@ -135,4 +134,3 @@ 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_TINYCRYPT */

View file

@ -80,7 +80,6 @@
* the signer's public key and the signature values (r and s).
*/
#if defined(MBEDTLS_USE_TINYCRYPT)
#ifndef __TC_ECC_DSA_H__
#define __TC_ECC_DSA_H__
@ -143,4 +142,3 @@ int uECC_verify(const uint8_t *p_public_key, const uint8_t *p_message_hash,
#endif
#endif /* __TC_ECC_DSA_H__ */
#endif /* MBEDTLS_USE_TINYCRYPT */