EC_KEY_generate_key() causes FIPS self-test failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl (Ubuntu) |
Fix Released
|
Undecided
|
Joy Latten | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
EC_KEY_
For example, `openssl ecparam -genkey -name Oakley-EC2N-4` fails. Unfortunately `openssl ecparam` doesn't give any useful information so I modified a bit:
~~~
diff --git a/apps/ecparam.c b/apps/ecparam.c
index 71b67f4..db89c2f 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -585,6 +585,7 @@ int MAIN(int argc, char **argv)
if (!EC_KEY_
+ ERR_print_
goto end;
}
if (outformat == FORMAT_ASN1)
~~~
And I got:
~~~
$ LD_LIBRARY_
-----BEGIN EC PARAMETERS-----
BgA=
-----END EC PARAMETERS-----
140614096975512
140614096975512
140614096975512
140614096975512
140614096975512
140614096975512
~~~
I'm using Ubuntu 16.04 and openssl 1.0.2g-1ubuntu4.1.
This was originally reported at Ruby's issue tracker:
Changed in openssl (Ubuntu): | |
assignee: | nobody → Joy Latten (j-latten) |
Looking into this...