SHA256
-
- XCore Addict
- Posts: 207
- Joined: Thu Dec 10, 2009 11:00 pm
- Location: Mexico
-
- Respected Member
- Posts: 298
- Joined: Thu May 12, 2011 11:14 am
We have an SHA2 hidden in the sc_crypto project on the XCore Github:
https://github.com/xcore/sc_crypto
https://github.com/xcore/sc_crypto
-
- XCore Addict
- Posts: 207
- Joined: Thu Dec 10, 2009 11:00 pm
- Location: Mexico
Sounds great!
Do we have any performance estimates for this implementation?
Do we have any performance estimates for this implementation?
-
- XCore Addict
- Posts: 207
- Joined: Thu Dec 10, 2009 11:00 pm
- Location: Mexico
Got it running!
Also got some problems - I do not understand the use of in https://github.com/xcore/sc_crypto/blob ... rc/main.xc
I feel I missed something in the middle, The SHA256 hash for test message (including this modification with 0x80) is correct, while I am trying to test with other test vectors I am getting result far beyond expected hash.
Any comments quite appreciated!
Also got some problems - I do not understand the use of
Code: Select all
message[55] = 0x80;
I feel I missed something in the middle, The SHA256 hash for test message (including this modification with 0x80) is correct, while I am trying to test with other test vectors I am getting result far beyond expected hash.
Any comments quite appreciated!
-
- Respected Member
- Posts: 298
- Joined: Thu May 12, 2011 11:14 am
I'll forward this onto the person who created it here at XMOS, they're the most likely to solve your problem.
-
- XCore Addict
- Posts: 207
- Joined: Thu Dec 10, 2009 11:00 pm
- Location: Mexico
Thanks!