Setting the Encrypt-Then-Mac mode.
- Parameters
-
| ctx | [IN] TLS connection handle. |
| isEncryptThenMac | [IN] Indicates whether to enable the Encrypt-Then-Mac mode. |
- Return values
-
| HITLS_NULL_INPUT,the | input parameter pointer is NULL. |
| HITLS_SUCCESS,if | successful. |