Skip to content
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

feat(perf): Use [u32;16] for message block in sha256 #6324

Merged
merged 42 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ef424b9
Start changing the array size
aakoshh Oct 23, 2024
fb44189
Show println output in stdlib tests
aakoshh Oct 23, 2024
16edac8
Helper functions with tests
aakoshh Oct 23, 2024
4161023
Debugging tests
aakoshh Oct 23, 2024
7aeb703
Fixed msg_just_over_block
aakoshh Oct 23, 2024
1d84c98
All but one tests pass
aakoshh Oct 23, 2024
785c91d
Debug msg_multiple_over_block
aakoshh Oct 23, 2024
c7ea04d
Fix attach_len_to_msg_block
aakoshh Oct 23, 2024
bb92978
Remove prints
aakoshh Oct 23, 2024
af4befd
Format code
aakoshh Oct 23, 2024
4e2b7ca
Fix block verification
aakoshh Oct 23, 2024
b2fb732
Use u32 when constructing the block
aakoshh Oct 23, 2024
10b09b3
Enable verify_msg_block_padding
aakoshh Oct 23, 2024
9270890
Check the length
aakoshh Oct 23, 2024
7d04ccd
Check zeroes
aakoshh Oct 23, 2024
45c015f
Check last block
aakoshh Oct 23, 2024
63f40f8
Format code
aakoshh Oct 23, 2024
9d1c05f
Merge remote-tracking branch 'origin/master' into 6304-sha-msg-block-…
aakoshh Oct 23, 2024
6d4c2ce
Add INT_FIELD type alias
aakoshh Oct 24, 2024
99eaf47
Merge remote-tracking branch 'origin/master' into 6304-sha-msg-block-…
aakoshh Oct 24, 2024
2f0cb3e
Typos
aakoshh Oct 24, 2024
101c1bd
Format
aakoshh Oct 24, 2024
28f30d1
No need for modulo
aakoshh Oct 24, 2024
e4e7765
Rename field to item
aakoshh Oct 24, 2024
3099fd6
Remove MSG_ITEM
aakoshh Oct 24, 2024
2fa178f
Add lshift8 and rshift8
aakoshh Oct 24, 2024
b1cb667
Check zero modulo simpler
aakoshh Oct 24, 2024
081c8ba
Add shifts parameter to lshift8 and rshift8
aakoshh Oct 24, 2024
180fdad
No loop when zeroing
aakoshh Oct 24, 2024
5452465
Helper methods to zero suffixes
aakoshh Oct 24, 2024
d6dea58
Set zero suffix in 1<<7
aakoshh Oct 24, 2024
cb11e5d
Fix brillig integration test by not shifting if we have to get rid of…
aakoshh Oct 24, 2024
17d5fdc
Comment out unused helpers
aakoshh Oct 24, 2024
30a0e0c
Merge remote-tracking branch 'origin/master' into 6304-sha-msg-block-…
aakoshh Oct 24, 2024
f7e3156
Handle zero in lshift8 itself
aakoshh Oct 24, 2024
3f9e125
Merge remote-tracking branch 'origin/master' into 6304-sha-msg-block-…
aakoshh Oct 24, 2024
c348b06
Remove unused functions
aakoshh Oct 24, 2024
f13551f
Use bitshifting
aakoshh Oct 24, 2024
2a5686e
Use TWO_POW...
aakoshh Oct 24, 2024
da0f98d
Parentheses
aakoshh Oct 24, 2024
77c1bc9
Merge branch 'master' into 6304-sha-msg-block-size-16
aakoshh Oct 24, 2024
116dcb6
Merge branch 'master' into 6304-sha-msg-block-size-16
aakoshh Oct 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading