This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMDS64EVM:椭圆曲线加密实现

Guru**** 3003130 points

Other Parts Discussed in Thread: TMDS64EVM

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1651126/tmds64evm-elliptic-curve-cryptography-implementation

器件型号: TMDS64EVM

大家好:  

我一直在使用一个使用 AM243x 和 TMDS64EVM 开发板的系统来测试 ECC 实现。

这些电路板能够成功通信并共享公钥。 但现在、为了实现共享密钥(在 TMDS64EVM 电路板上)、我使用了“asym_crypt.h“库中提供的函数“Asym Crypt_Ecdh GenSharedSecret“、该函数已添加到工程中、但在某种程度上、我仍然收到以下错误:

“  

Arm 链接器 — 构建目标:“TMDS64EVM_ISOTP_teste_5.out“
“c:/ti/ti_cgt_arm_llvm_4.0.1.LTS/bin/tiarmclang.exe /ti/mcu_plus_sdk_am64x_11_00_00_18/source/kernel/freertos/lib /ti/mcu_plus_sdk_am64x_11_00_00_18/source/security/lib -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -dsOC_AM64X -dos_freertos-debug_=1 -g /ti/mcu_plus_sdk_am64x_11_00_00_18/source/drivers/lib /ti/mcu_plus_sdk_am64x_11_00_00_18/source/security/security_common/drivers/crypto /ti/ti_cgt_arm_llvm_4.0.1.LTS/lib /syscfg/ti_dpl_config.o /syscfg/ti_drivers_config.o /syscfg/ti_drivers_open_close.o /syscfg/ti_pinmux_config.o /syscfg/ti_power_clock_config.o /syscfg/ti_board_config.o /syscfg/ti_board_open_close.o /syscfg/ti_enet_config.o /syscfg/ti_enet_open_close.o /syscfg/ti_enet_soc.o /syscfg/ti_enet_lwipif.o /isotp-c/isotp.o /myCAN/myISOTP.o /myCAN/myInitialization.o /myCAN/myReceive.o /myCAN/mySupervisor.o /security/security.o -lsecurity.am64x.r5f.ti-arm-clang.debug.lib -lfreertos.am64x.r5f.ti-arm-clang.debug.lib -ldrivers.am64x.r5f.ti-arm-clang.debug.lib

 未定义           首次引用
 符号              In file
 -----           ------------------------
 Asym Crypt_Ecdh.GenSharedSecret./security/security.o

[6]错误#10234-D:保留未解析的符号
[7]错误#10010:链接时遇到错误

 “

有人能指导我如何解决这个问题吗?  

提前感谢。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Asym Crypt_Ecdh.GenSharedSecret./security/security.o

    这是因为该实现不适用于 AM64 器件。 AM64 的 PKA 驱动程序位于没有此实现的“source/security/security_common/drivers/crypto/pka“中。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢你:D