We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0b95f commit 9a2f757Copy full SHA for 9a2f757
openssl/src/pkey_ctx.rs
@@ -988,6 +988,19 @@ mod test {
988
key_ctx.keygen().unwrap();
989
}
990
991
+ #[test]
992
+ fn ec_keygen() {
993
+ let mut ctx = PkeyCtx::new_id(Id::EC).unwrap();
994
+ ctx.paramgen_init().unwrap();
995
+ ctx.set_ec_paramgen_curve_nid(Nid::X9_62_PRIME256V1)
996
+ .unwrap();
997
+ let params = ctx.paramgen().unwrap();
998
+
999
+ let mut key_ctx = PkeyCtx::new(¶ms).unwrap();
1000
+ key_ctx.keygen_init().unwrap();
1001
+ key_ctx.keygen().unwrap();
1002
+ }
1003
1004
#[test]
1005
#[cfg(any(ossl110, boringssl, libressl360, awslc))]
1006
fn hkdf() {
0 commit comments