Closed ZigFisher closed 1 year ago
I compiled this project with both libraries. With tomcrypt the size of the binary (statically compiled) is about 52 KB, with mbedtls is about 60 KB. But there are no other reasons. If you want, I can add a compilation flag to choose the library.
I don't know if I compiled mbedtls with the minimum set of features. This is my config file:
#define MBEDTLS_HAVE_ASM
#define MBEDTLS_HAVE_TIME
#define MBEDTLS_HAVE_TIME_DATE
#define MBEDTLS_SHA1_C
#define MBEDTLS_BASE64_C
Thank you very much for your reply. I added your ONVIF solution to OpenIPC project recently. https://github.com/OpenIPC/firmware/tree/master/general/package/onvif-simple-server We use mbedtls internally and we are very interested in this solution. I see your commit, I will try out the new solution soon and give feedback. Thank you, Sir !
Good afternoon ! Thank you very much for your project, it is very interesting. Please tell me why you chose tomcrypt library and not mbedtls ? The second library is more widespread and used in many places. Maybe you have plans to switch to it in the future ? Thank you.