-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Undocumented alignment of secp256k1_context #1082
Comments
I assume you mean the buffer to the preallocated context and not the context itself? secp256k1/include/secp256k1_preallocated.h Lines 42 to 43 in ac83be3
Also, see this discussion: rust-bitcoin/rust-secp256k1#141 (comment) |
Ah, OK, I expected to find this at type not a function. Thanks! |
Note that the |
secp256k1_context
doesn't have alignment documented but looking at the code it's clearly bigger than 1 since it contains pointers and int. Possibly becuase of lacking documentation Rust bindings used array of bytes (u8
AKAuint8_t
) which is very wrong.The text was updated successfully, but these errors were encountered: