forked from wolfSSL/wolfssl
fix wc_curve25519_generic() ifdef on NXP LTC builds
This commit is contained in:
committed by
Jacob Barthelmeh
parent
8c16bd2450
commit
476a3e5d4f
@@ -114,7 +114,7 @@ int wc_curve25519_generic(int public_size, byte* pub,
|
||||
/* unsupported with NXP LTC, onlly supports single basepoint with
|
||||
* nxp_ltc_curve25519_GetBasePoint() */
|
||||
return WC_HW_E;
|
||||
#endif
|
||||
#else
|
||||
|
||||
if ((public_size != CURVE25519_KEYSIZE) ||
|
||||
(private_size != CURVE25519_KEYSIZE) ||
|
||||
@@ -143,6 +143,8 @@ int wc_curve25519_generic(int public_size, byte* pub,
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
|
||||
#endif /* FREESCALE_LTC_ECC */
|
||||
}
|
||||
|
||||
/* generate a new private key, as a bare vector.
|
||||
|
Reference in New Issue
Block a user