xrtSshKexSessionBegin
使用 XRT 系统安全随机源开始一代 Curve25519 KEX。
xsshcode xrtSshKexSessionBegin( xsshkexsession* pSession, xsshtransportcore* pCore, const xsshkextranscript* pTranscript, xbytesview ServerHostKey );
| 参数 | 说明 |
|---|---|
| xsshkexsession* pSession | 会话对象 |
| xsshtransportcore* pCore | 核心对象 |
| const xsshkextranscript* pTranscript | Transcrt 参数 |
| xbytesview ServerHostKey | ServerHostKey 参数 |
返回:使用 XRT 系统安全随机源开始一代 Curve25519 KEX。
示例已编译验证
/* 使用 XRT 系统安全随机源开始一代 Curve25519 KEX。 */ result = xrtSshKexSessionBegin(pSession, pCore, pTranscript, ServerHostKey);