feat(hal/ecc): Support ECC hardware constant-time point multiplication operations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -195,6 +195,15 @@ int ecc_hal_read_mod_op_result(uint8_t *r, uint16_t len);
|
||||
|
||||
#endif /* SOC_ECC_EXTENDED_MODES_SUPPORTED */
|
||||
|
||||
#ifdef SOC_ECC_CONSTANT_TIME_POINT_MUL
|
||||
/**
|
||||
* @brief Enable constant time multiplication operations
|
||||
*
|
||||
* @param true: enable; false: disable
|
||||
*/
|
||||
void ecc_hal_enable_constant_time_point_mul(bool enable);
|
||||
#endif /* SOC_ECC_CONSTANT_TIME_POINT_MUL */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user