Skip to content

der: remove 256 MiB limit on Length #1726

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 1 commit into from
Mar 17, 2025

Conversation

turbocool3r
Copy link
Contributor

Length type was previously limited to 256 MiB. This PR removes the limit and changes the internal representation to usize instead of u32.

@tarcieri
Copy link
Member

You seem to have started from an out-of-date copy of the repo.

This also makes significantly more changes than what's in the title of the issue. I would suggest starting by simply removing the limit.

@turbocool3r
Copy link
Contributor Author

@tarcieri sure, will change back to u32.

@turbocool3r turbocool3r force-pushed the large-length branch 2 times, most recently from 6b8345d to 76ce308 Compare March 17, 2025 18:45
@tarcieri tarcieri changed the title Remove 256 MiB limit on Length der: remove 256 MiB limit on Length Mar 17, 2025
@tarcieri tarcieri merged commit 500cd65 into RustCrypto:master Mar 17, 2025
107 checks passed
@turbocool3r turbocool3r deleted the large-length branch March 17, 2025 19:17
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.

2 participants