Commit Graph

12 Commits

Author SHA1 Message Date
xuxin19
2432a62ab6 fix cmake code smell issues
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-09-04 23:19:26 +08:00
Lingao Meng
518e455dce add macro for ecc
application may use micro-ecc for some ecc operation, which may be
faster than tinycrypt, due to assamble code, but both of them have
same function defination, cause build error on there case.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2023-08-29 12:19:26 +03:00
xuxin19
a091b91d83 cmake:replace custom_patch_target with PATCH_COMMAND
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-24 17:49:12 +02:00
simbit18
00a093e108 Fix Kconfig style
Replace help => ---help---
Add comments
2023-08-18 20:19:22 +08:00
xuxin19
817ea66e9f cmake:migrate apps CMakeLists for tinycrypt
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-16 00:59:04 +08:00
yangjiao
910409b4fb resolve the compile error.
Update the test cases' source code to solve the conflict of test function name,like below:"/home/yangjiao/Vela_Project/vela_TinyCrypt/apps/crypto/tinycrypt/tinycrypt/tests/test_sha256.c:149: multiple definition of `test_5'; /home/yangjiao/Vela_Project/vela_TinyCrypt/nuttx/staging/libapps.a(test_hmac_prng.c.home.yangjiao.Vela_Project.vela_TinyCrypt.apps.crypto.tinycrypt.o):/home/yangjiao/Vela_Project/vela_TinyCrypt/apps/crypto/tinycrypt/tinycrypt/tests/test_hmac_prng.c:316: first defined here".

Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2023-08-11 21:47:47 +08:00
yangjiao
30e56fd6a0 porting tinycrypt tests.
Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2023-08-11 21:47:47 +08:00
simbit18
e15db0c21b crypto/tinycrypt/Kconfig: Fix indentation
Replace help => ---help---
Add TABs
2023-05-19 01:00:38 +08:00
wangbowen6
0eb778d849 crypto/tinycrypt: sync .gitignore with mbedtls/.gitignore
avoid git untracked
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        crypto/tinycrypt/tinycrypt/

Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2023-01-30 00:06:24 +08:00
yinshengkai
ee4d8b738f Makefile: replace INCDIR to INCDIR_PREFIX
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
yinshengkai
2c3c2edcb7 Makefile: Remove INCDIROPT
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.

See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
2022-10-25 13:48:16 +08:00
anjiahao
263f4ab8b9 crypto:add tinycrypt to apps/crypto
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-20 14:53:38 +08:00