More fixes and improvements #751
No reviewers
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt!751
Loading…
Reference in a new issue
No description provided.
Delete branch "more-fixes-and-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checklist
Fixes:tag to the commit message@ -305,1 +308,4 @@if(++sha3->word_index == (SHA3_KECCAK_SPONGE_WORDS - sha3->capacity_words)) {proc_f(sha3->s);sha3->word_index = 0;}what about also adding:
so that we can have:
which would be handy for RFC 8702: RSA-PSS-SHAKE128/256 and ECDSA-SHAKE128/256
I have added two small commits. Otherwise, this PR looks good.
The only exception is the
LTC_NO_STRUCT_PADDING part, which I would suggest moving into a separate PR and perhars discuss pros/cons there. I have doubts whether it will work as expected, especially the change fromulong64 dummy[8]tovoid *padding[8]. In my opinion, this goes in the wrong direction as the reserved area becomes platform-dependent: 64 bytes vs. 32 bytes, depending on the pointer size.The commit related to replacing
LTC_FAST_TYPE_PTR_CASTmight be seen as slightly controversial. If you find it inappropriate here feel free to revert it and/or move it to a separate PR.@sjaeckel that is all from me for this weekend