MBEDTLS 打印
时间: 2023-08-18 11:11:09 浏览: 151
mbedtls开源sdk
回答: 在MBEDTLS中打印信息可以通过在代码中插入printf语句来实现。例如,在mbedtls_ssl_handshake函数中插入打印状态的代码printf("ssl_state:%d\n",ssl->state),可以看到输出,其中ssl_state表示握手状态的变化,最后打印handshake:0代表握手成功。\[3\]
#### 引用[.reference_title]
- *1* [【sm2算法】基于mbedtls开源库国密算法的使用(一)](https://blog.csdn.net/qq_41885673/article/details/123192953)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [mbedtls环境搭建与gdb调试](https://blog.csdn.net/weixin_42960194/article/details/128926937)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [mbedtls 连接 阿里云物联网](https://blog.csdn.net/ljxh401/article/details/128188536)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文