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

rsaes #59

Merged
merged 5 commits into from
Mar 15, 2025
Merged

rsaes #59

merged 5 commits into from
Mar 15, 2025

Conversation

NegaScout
Copy link
Owner

No description provided.

@NegaScout NegaScout force-pushed the ns/oaep branch 2 times, most recently from b947bc0 to 97de6c1 Compare March 13, 2025 22:17
@NegaScout
Copy link
Owner Author

for counter in big"0":BigInt((ceil(maskLen / hLen) - 1)) has corrupted limbs sometimes

@NegaScout
Copy link
Owner Author

NegaScout commented Mar 15, 2025

bug in export!

julia> tmp3 = big"0"
0

julia> tmp2 = [big"0"]^C

julia> tmp3.size
0

julia> tmp3.alloc
1

julia> tmp3.d
Ptr{UInt64} @0x000000003b56f2b0

julia> ret3 = zeros(UInt8, 0)
UInt8[]

julia> Base.GMP.MPZ.export!(ret3, tmp3; order=0, nails=0, endian=0)
(UInt8[0xb0], 0)

@NegaScout
Copy link
Owner Author

JuliaLang/julia#57787

@NegaScout NegaScout merged commit 3add360 into main Mar 15, 2025
4 checks passed
@NegaScout NegaScout deleted the ns/oaep branch March 15, 2025 20:04
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