mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 18:45:46 +01:00
Disable ecp_use_curve25519() if not POLARSSL_ECP_DP_M255_ENABLED
This commit is contained in:
parent
1a56fc96a3
commit
0c0476f92d
@ -573,6 +573,7 @@ static int ecp_mod_p255( mpi * );
|
|||||||
G ## _gy, sizeof( G ## _gy ), \
|
G ## _gy, sizeof( G ## _gy ), \
|
||||||
G ## _n, sizeof( G ## _n ) )
|
G ## _n, sizeof( G ## _n ) )
|
||||||
|
|
||||||
|
#if defined(POLARSSL_ECP_DP_M255_ENABLED)
|
||||||
/*
|
/*
|
||||||
* Specialized function for creating the Curve25519 group
|
* Specialized function for creating the Curve25519 group
|
||||||
*/
|
*/
|
||||||
@ -604,6 +605,7 @@ cleanup:
|
|||||||
|
|
||||||
return( ret );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
#endif /* POLARSSL_ECP_DP_M255_ENABLED */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set a group using well-known domain parameters
|
* Set a group using well-known domain parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user