-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for TI Launchpad #1
base: master
Are you sure you want to change the base?
Conversation
Still has compilation issues which require breaking compatibility with other hardware.
Just need to figure out which memory section to put the big arrays.
Hopefully, at least
"flash" section not supported correctly, using ".text" instead.
Also, result functions no longer return raw pointers to internal state.
Thanks for the support .
|
OK. Sent from my Windows Phone From: Georgios Spanosmailto:notifications@github.com Thanks for the support .
Reply to this email directly or view it on GitHub: |
hello. i have cchecked your code and it seems good. Thanks |
Commit your changes and I'll re-add mine afterwards. It'll also give me time to implement a few other changes that I had in mind. Sent from my Windows Phone From: Georgios Spanosmailto:notifications@github.com hello. i have cchecked your code and it seems good. Thanks Reply to this email directly or view it on GitHub: |
my changes are now commited, had some file separation as you can see. thanks. |
These additions add suport for TI Tiva C-Series Launchpad boards, in particular the EK-TM4C1294 Connected Launchpad. Support for others can be added very easily by simply adding another
defined(...)
clause in the header's#if
statements.Also, the
result()
functions now take one argument: a user-supplied array ofbyte
(that is,unsigned char
oruint8_t
) allocated to 32 bytes. Before, these functions returned a raw pointer to the SHA function's internal state, which could allow the user to accidentally (or intentionally) corrupt said state. Now the library copies bytes from the SHA's state to the user-supplied array.