Changed every memcmp to SCA equivalent mbedtls_platform_memcmp

This makes physical attacks more difficult.
Selftest memcmp functions were not changed.
diff --git a/library/pk.c b/library/pk.c
index fb563d0..fbcaa5d 100644
--- a/library/pk.c
+++ b/library/pk.c
@@ -556,7 +556,7 @@
     const mbedtls_uecc_keypair *uecc_prv =
         (const mbedtls_uecc_keypair *) prv;
 
-    if( memcmp( uecc_pub->public_key,
+    if( mbedtls_platform_memcmp( uecc_pub->public_key,
                 uecc_prv->public_key,
                 2 * NUM_ECC_BYTES ) == 0 )
     {