嗨,我有一个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 genera
tion, 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...