ext/mbedtls-asn1: Add support for mbedtls sha512.c#611
ext/mbedtls-asn1: Add support for mbedtls sha512.c#611rajivr wants to merge 1 commit intomcu-tools:masterfrom
sha512.c#611Conversation
`sha512.c` is needed by `curve22519.c`. By having `sha512.c` support in `ext/mbedtls-asn1`, we can do away with the requirement of having to import mbedtls into our tree just for `sha512.c` support. As per PR#567, the imported mbedtls files are from mbedtls LTS version 2.16.3. Signed-off-by: Rajiv Ranganath <rajiv.ranganath@atihita.com>
Are you using tinycrypt for the sha256? This does not include any changes to build scripts, which means sha512.c will only stay there without use (for most users); or are you planning on also adding the build changes? |
Yes, I think so. I am still working on the port and here is how our
I was not planning on making any changes to the build scripts. However, if there is interest upstream in adding We are using Rust as well so I am somewhat familiar with |
|
Closing in favor of #627 |
sha512.cis needed bycurve22519.c. By havingsha512.csupport inext/mbedtls-asn1, we can do away with the requirement of having to import mbedtls into our tree just forsha512.csupport.As per PR #567, the imported mbedtls files are from mbedtls LTS version 2.16.3.