OpenHarmony开发者论坛

标题: xts ActsHuksHalFunctionTest编译报错 [打印本页]

作者: skylyzhao    时间: 昨天 19:12
标题: xts ActsHuksHalFunctionTest编译报错
[md]轻量系统,V4.1release    路径 `/test/xts/acts/security_lite/huks`

xts自测 链接 `module_ActsHuksHalFunctionTest` 以后编译报错,例如函数TestAes256ByLocal已经编译了并且有头文件引用,还是报错:`undefined reference to `TestAes256ByLocal'. 这部分的代码都是源码未经修改,实在不到问题原因了?请教遇到相同问题的大佬.

[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_aes_test.o): in function `ExecHksAesTest004': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_aes_test.c:112: undefined reference to `TestAes256ByLocal'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o): in function `AgreeKey': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:115: undefined reference to `TestConstructAgreeParamSet'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:118: undefined reference to `HksAgreeKeyRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o): in function `ExecHksAgreementTest001':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:135: undefined reference to `GenerateLocalX25519Key' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:137: undefined reference to `GenerateLocalX25519Key'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:142: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:162: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:163: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:164: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:165: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:162: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o):/home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:163: more undefined references to `TestFreeBlob' follow [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o): in function `ExecHksAgreementTest002':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:184: undefined reference to `GenerateLocalX25519Key' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:186: undefined reference to `GenerateLocalX25519Key'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:191: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:211: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:212: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:213: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:214: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:211: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o):/home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:212: more undefined references to `TestFreeBlob' follow [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_bn_exp_mod_test.o): in function `HksBnExpModTest001_runTest':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:137: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:142: undefined reference to `TestConstructBlobOut'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:147: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:152: undefined reference to `TestConstuctBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:160: undefined reference to `HksBnExpModRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:164: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:165: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:166: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:167: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:164: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_bn_exp_mod_test.o):/home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:165: more undefined references to `TestFreeBlob' follow [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest001':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:91: undefined reference to `BaseTestCipher' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest002':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:99: undefined reference to `BaseTestCipher' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest010':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:163: undefined reference to `BaseTestCipher' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest003':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:107: undefined reference to `BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest004':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:115: undefined reference to `BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest005':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:123: undefined reference to `BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest006':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:131: undefined reference to `BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest007':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:139: undefined reference to `BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest008':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:147: undefined reference to `BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest009':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:155: undefined reference to `BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest011':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:171: undefined reference to `BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in function `ExecHksCipherTest012':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:179: undefined reference to `BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_delete_test.o): in function `ExecHksDeleteTest001':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:62: undefined reference to `TestGenDefaultKeyAndGetAlias' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:72: undefined reference to `HksDeleteKeyRun'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:75: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:75: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in function `BaseTestDerive': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:210: undefined reference to `HuksGenerateKey'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:224: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in function `DeriveKey':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:192: undefined reference to `TestConstructDeriveParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:195: undefined reference to `HksDeriveKeyRun'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in function `BaseTestDerive': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:245: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:246: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:247: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:248: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:207: undefined reference to `GenerateLocalRandomKey'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:213: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in function `DeriveKey':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:176: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:179: undefined reference to `TestConstuctBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_exist_test.o): in function `ExecHksExistTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:66: undefined reference to `TestGenDefaultKeyAndGetAlias'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:67: undefined reference to `HksKeyExistRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_generate_key_test.o): in function `ExecHksGenerateKeyTest001':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:110: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:128: undefined reference to `TestConstructGenerateKeyParamSet'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:132: undefined reference to `TestConstructGenerateKeyParamSetOut' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:137: undefined reference to `HksGenerateKeyRun'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:148: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:148: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_generate_random_test.o): in function `ExecHksGenerateRandomTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:96: undefined reference to `TestConstructBlobOut'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:103: undefined reference to `HksGenerateRandomRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:109: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:109: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_hash_test.o): in function `ExecHksHashTestCommon':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:117: undefined reference to `TestConstructHashParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:122: undefined reference to `TestConstuctBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:129: undefined reference to `TestConstructBlobOut' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:136: undefined reference to `HksHashRun'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:143: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:144: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function `BaseTestMac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:317: undefined reference to `HuksGenerateKey'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function `ConstructDataToBlob': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:258: undefined reference to `TestConstuctBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:265: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function `Mac':
[OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:286: undefined reference to `TestConstructMacParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:298: undefined reference to `HksMacRun'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function `BaseTestMac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:348: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:349: undefined reference to `TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:350: undefined reference to `TestFreeBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:310: undefined reference to `TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:320: undefined reference to `TestConstuctBlob'
[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function `Mac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:294: undefined reference to `TestConstructMacParamSet'
[OHOS ERROR] collect2: error: ld returned 1 exit status
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5