Bug #6234

Incomplete code in ossl_pkey_ec.c

Added by Ruby Submit over 3 years ago. Updated 3 months ago.

ruby -v:ruby 1.9.2p290 Backport:


File: ext\openssl\ossl_pkey_ec.c

} else {
BIO *in = ossl_obj2bio(arg1);

/* BUG: finish me */


        if (point == NULL) {
            ossl_raise(eEC_POINT, "unknown type for 2nd arg");


#1 Updated by Yusuke Endoh over 3 years ago

  • Status changed from Open to Assigned
  • Assignee set to Martin Bosslet

Assigning to emboss too. Thanks.

Yusuke Endoh mame@tsg.ne.jp

#2 Updated by Martin Bosslet over 3 years ago

I'm afraid I'm not entirely sure what the original intention was there.
Is technorama still around? Could we ask her/him?

If not my guess is that the intention was to read a point from OctetString
representation as described in section 2.3.4 in [1]. However, this would
probably also require an additional parameter that indicates the point
compression form. It would be a valuable addition, as well as having a
method for the inverse operation, ECPoint#to_octet_string. If we can't
reach technorama I will implement these two options. Or did the OP have
something else in mind?

[1] http://www.secg.org/collateral/sec1_final.pdf

#3 Updated by Zachary Scott 3 months ago

  • Assignee changed from Martin Bosslet to openssl

Also available in: Atom PDF