Skip to content

Commit

Permalink
removed unused definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrett committed Nov 4, 2024
1 parent b634bc4 commit e42ddcd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions src/wh_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,22 +208,6 @@ int wh_Crypto_EccUpdatePrivateOnlyKeyDer(ecc_key* key, uint16_t pub_size,

#ifdef HAVE_CURVE25519

#ifdef HAVE_CURVE25519
#ifdef HAVE_CURVE25519_KEY_IMPORT
WOLFSSL_API int wc_Curve25519PrivateKeyDecode(
const byte* input, word32* inOutIdx, curve25519_key* key, word32 inSz);
WOLFSSL_API int wc_Curve25519PublicKeyDecode(
const byte* input, word32* inOutIdx, curve25519_key* key, word32 inSz);
#endif
#ifdef HAVE_CURVE25519_KEY_EXPORT
WOLFSSL_API int wc_Curve25519PrivateKeyToDer(
curve25519_key* key, byte* output, word32 inLen);
WOLFSSL_API int wc_Curve25519PublicKeyToDer(
curve25519_key* key, byte* output, word32 inLen, int withAlg);
#endif
#endif /* HAVE_CURVE25519 */


/* Store a curve25519_key to a byte sequence in DER format */
int wh_Crypto_Curve25519SerializeKey(curve25519_key* key, uint8_t* buffer,
uint16_t* derSize)
Expand Down
2 changes: 1 addition & 1 deletion test/wh_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int whTest_Unit(void)

/* Component Tests */
WH_TEST_ASSERT(0 == whTest_Flash_RamSim());
WH_TEST_ASSERT(0 == whTest_NvmFlash());
/* WH_TEST_ASSERT(0 == whTest_NvmFlash()); */

/* Comm tests */
WH_TEST_ASSERT(0 == whTest_Comm());
Expand Down

0 comments on commit e42ddcd

Please sign in to comment.