openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetEcPointFormats()

int32_t HITLS_SetEcPointFormats ( HITLS_Ctx ctx,
const uint8_t *  pointFormats,
uint32_t  pointFormatsSize 
)

Set the EC point format of the hitls.

注意
Currently, the value can only be HITLS_ECPOINTFORMAT_UNCOMPRESSED.
参数
ctx[OUT] hitls context.
pointFormats[IN] ec point format, corresponding to the HITLS_ECPointFormat enumerated value.
pointFormatsSize[IN] Length of the ec point format
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.