完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我有一个PIC32 MZ STATER工具包,我正在修改PIC32的EthyWebServer项目,我想使用SHA作为WebSoClient客户端。如果我将SHA添加到MHC中,并且在代码生成之后,我总是使用“Curry:未知类型名称”CuthTuxSHAXCTX。例如,在App.C中,我使用CurtTySHAXCTX。如果我用同一个板的LaGeGHASH示例项目做同样的事情,它工作得很好。我已经用MHC添加了其他函数,所以我不联合。明白我做错了什么。比较2个项目的MHC没有帮助。如果SHA没有被选择在MHC中,我在StReSy-CONFIG.H中找到行定义NosiHA。选择SHA后,定义NosiHA被删除,但我总是有错误。定义NosiSHA应该启用或不支持SHA功能和类型。您能帮助我吗?几个小时以来,我一直在努力解决这个问题…
以上来自于百度翻译 以下为原文 Hi, I have a PIC32MZ stater kit and I am modifying the pic32_eth_web_server project, I want to use SHA for a websocket client. If I add SHA in MHC and after code generation, I always have "error: unknown type name 'CRYPT_SHA_CTX" as soon as I use CRYPT_SHA_CTX, in app.c for example. If I do same thing with large_hash example project for the same board, it works fine. I've already added other functions with MHC, so I don't understand what I'm doing wrong. Comparing MHC for the 2 projects doesn't help. If SHA is not selected in MHC, I find in systeme_config.h the line #define NO_SHA. After selecting SHA, this define NO_SHA is removed, but I always have the error. The #define NO_SHA should enable or not the SHA functions and types. Can you help me ? I struggle with this problem since many hours... |
|
相关推荐
3个回答
|
|
我发现了一个问题:在文件调用函数和定义中,包含了“密码/密码子h”。因此,我不清楚MHC为您做了什么,而他没有做什么。我想MHC的目标是解决这个问题吗?这一行应该自动插入到文件系统定义中。在工作示例(LARGEYHASH)中,该行位于App.h文件中,与其他行连接。谁写这行?
以上来自于百度翻译 以下为原文 I have found the problem : the line #include "crypto/crypto.h" was missing in the file calling function and definition. So, it is not clear for me what MHC does for you and what he does not, about include. I was thinking that a goal of MHC was to solve this problem ? This line should have been automatically inserted in the file system_definitions.h or not ? In the working example (large_hash), this line is in app.h file, with other lines. Who should write this line ? |
|
|
|
|
|
|
|
现在,当这条线,即使我用MHC取消SHA(在系统Syth.COFIG.h中加上“定义NosiHa”),生成总是可以的。如果我用LaGeGHASH项目来做,则生成失败。世界跆拳道联盟????NosiSa在我使用函数后有效果…不适用于类型。
以上来自于百度翻译 以下为原文 And now, whit this line, even if I deselect SHA with MHC (adding #define NO_SHA in system_config.h), the build is always ok. If I do so with large_hash project, the build fail. wtf ??? NO_SHA has effect after if I atempt to use functions... Not for types. |
|
|
|
只有小组成员才能发言,加入小组>>
5204 浏览 9 评论
2016 浏览 8 评论
1942 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3188 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2244 浏览 5 评论
755浏览 1评论
641浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
550浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
654浏览 0评论
554浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-5 14:21 , Processed in 1.855960 second(s), Total 53, Slave 46 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号