We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I could not find an interface for EC_KEY_get_conv_form. Specifically, it seems that is not possible today to do something like this:
EC_KEY_get_conv_form
use openssl::{nid, ec, bn}; fn generate_some_bytes_from_ec() -> Result<Vec<u8>, ErrorStack> { let group = ec::EcGroup::from_curve_name(nid::Nid::X9_62_PRIME192V1)?; let key = ec::EcKey::generate(&group)?; key.public_key() .to_bytes(&group, EC_KEY_get_conv_form(&key), bn::BigNumContext::new()?.deref_mut()) }
To my understanding, the form exists in the key.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I could not find an interface for
EC_KEY_get_conv_form
. Specifically, it seems that is not possible today to do something like this:To my understanding, the form exists in the key.
The text was updated successfully, but these errors were encountered: