Skip to content

block-buffer v0.11 #823

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

Merged
merged 5 commits into from
Dec 19, 2022
Merged

block-buffer v0.11 #823

merged 5 commits into from
Dec 19, 2022

Conversation

newpavlov
Copy link
Member

@newpavlov newpavlov commented Dec 19, 2022

Depends on RustCrypto/traits#1172

The BlockSizes change is introduced to work around the leaky bounds problem.

Added

  • ReadBuffer type
  • serialize and deserialize methods

Changed

  • Supported block sizes are now bounded by the crypto_common::BlockSizes trait, which is implemented for types from U1 to U255
  • Size of EagerBuffer is equal to buffer size, while previously it was equal to buffer size plus one byte.
  • MSRV bumped to 1.56

Removed

  • EagerBuffer::set_data method. Use the ReadBuffer type instead.

@newpavlov newpavlov requested a review from tarcieri December 19, 2022 13:08
@newpavlov newpavlov changed the title hex-literal v0.11 block-buffer v0.11 Dec 19, 2022
@newpavlov newpavlov merged commit eb01b62 into master Dec 19, 2022
@newpavlov newpavlov deleted the hex_literal_0.11 branch December 19, 2022 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant