|
◆ HITLS_PskUseSessionCb
typedef int32_t(* HITLS_PskUseSessionCb) (HITLS_Ctx *ctx, uint32_t hashAlgo, const uint8_t **id, uint32_t *idLen, HITLS_Session **session) |
TLS1.3 client PSK negotiation callback
- 参数
-
ctx | [IN] ctx context |
hashAlgo | [IN] Hash algorithm |
id | [IN] Identity information |
idLen | [IN] Identity information length |
session | [OUT] session |
- 返回值
-
HITLS_PSK_USE_SESSION_CB_SUCCESS,if | successful. HITLS_PSK_USE_SESSION_CB_FAIL, if failed |
|