mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat: added test_cases for ECC P-384 curve operations
This commit is contained in:
@@ -248,6 +248,15 @@ static inline void ecc_ll_read_param(ecc_ll_param_t param, uint8_t *buf, uint16_
|
||||
memcpy(buf, (void *)reg, len);
|
||||
}
|
||||
|
||||
static inline bool ecc_ll_is_p384_curve_operations_supported(void)
|
||||
{
|
||||
#if HAL_CONFIG(CHIP_SUPPORT_MIN_REV) >= 300
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void ecc_ll_enable_constant_time_point_mul(bool enable)
|
||||
{
|
||||
if (enable) {
|
||||
|
||||
Reference in New Issue
Block a user