rt-thread-packages / mbedtls Goto Github PK
View Code? Open in Web Editor NEWAn open source, portable, easy to use, readable and flexible SSL library
License: Apache License 2.0
An open source, portable, easy to use, readable and flexible SSL library
License: Apache License 2.0
在port/src/tls_client.c 34行代码:
#define rt_kprintf rt_kprintf("[tls]");rt_kprintf
这段代码在某些场合会有bug,如在tls_app_test.c 142-143行中的代码片段:
for (i = 0; i < ret; i++)
rt_kprintf("%c", tls_session->buffer[i]);
实际上这个for循环无法正常打印收到的数据。
0x52 错误是由 getaddrinfo
函数返回的,域名解析错误,unknown host。
造成该错误的原因:
www.
因此,在使用时请确认,将 host 转为小写,二级域名前不适用 www.
Here
[BUG] rt_hwcrypto_hash_finish(*ctx, output, 32);
[BUGFIX] rt_hwcrypto_hash_finish(*ctx, output, 64);
2.27.0应该是最后一个2系列的版本了 https://github.com/ARMmbed/mbedtls/releases/tag/v2.27.0 建议更新一下,仓库上一次更新已经是两年前的事情了。
编译出现类似此等错误
application.c: error: C3906U: Malformed via file '.\build\application.__i'.
解决方法:拷贝mbedtls-port/inc/tls_config.h内容到mbedtls/include/mbedtls/config.h中
烦请下次更新README.md时增加说明。
du ---> de
rt_hwcrypto_dev_dufault rt_hwcrypto_dev_default
mbedtls 中返回 0x7200 错误,很大情况下是 帧大小
配置有问题。
RFC 手册描述,默认的 帧大小
为 16KB,如果 SSL/TLS 服务器没有进行重新配置,并且没有设置自适应帧大小,则需要用户在使用 mbedtls 的时候自行配置 帧大小
到 16KB。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.