xrtSshKexSessionBegin

使用 XRT 系统安全随机源开始一代 Curve25519 KEX。

xsshcode xrtSshKexSessionBegin( xsshkexsession* pSession, xsshtransportcore* pCore, const xsshkextranscript* pTranscript, xbytesview ServerHostKey );
参数说明
xsshkexsession* pSession会话对象
xsshtransportcore* pCore核心对象
const xsshkextranscript* pTranscriptTranscrt 参数
xbytesview ServerHostKeyServerHostKey 参数
返回:使用 XRT 系统安全随机源开始一代 Curve25519 KEX。

示例已编译验证

/* 使用 XRT 系统安全随机源开始一代 Curve25519 KEX。 */
result = xrtSshKexSessionBegin(pSession, pCore, pTranscript, ServerHostKey);