openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetEcPointFormats()

int32_t HITLS_CFG_SetEcPointFormats ( HITLS_Config config,
const uint8_t *  pointFormats,
uint32_t  pointFormatsSize 
)

Set the format of the ec point.

注意
Currently, this parameter can only be set to HITLS_ECPOINTFORMAT_UNCOMPRESSED.
参数
config[OUT] Config context.
pointFormats[IN] EC point format, corresponding to the HITLS_ECPointFormat enumerated value.
pointFormatsSize[IN] EC point format length
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.