Set the group supported during key exchange. The group supported by HiTLS can be queried in HITLS_NamedGroup.
- 注意
- If a group is not supported, an error will be reported during configuration check.
- 参数
-
config | [OUT] Config context. |
groups | [IN] Key exchange group. Corresponds to the HITLS_NamedGroup enumerated value. |
groupsSize | [IN] Group length |
- 返回值
-
HITLS_SUCCESS,if | successful. For details about other error codes, see hitls_error.h. |