      return 1;
  }
  
-+#ifdef FEATURE_PERIPH_HWRNG
++#ifdef MODULE_PERIPH_HWRNG
 +
  int uECC_sign(const uint8_t *private_key,
                const uint8_t *message_hash,

 
 #endif /* platform */
 
+#endif /* FEATURE_PERIPH_HWRNG */
+
 #endif /* _UECC_PLATFORM_SPECIFIC_H_ */
diff --git a/uECC.c b/uECC.c

 */
 int uECC_make_key(uint8_t *public_key, uint8_t *private_key, uECC_Curve curve);
 
+#endif /* MODULE_PERIPH_HWRNG */
+
 /* uECC_shared_secret() function.
 Compute a shared secret given your secret key and someone else's public key.
