Project

General

Profile

Actions

Bug #6234

closed

Incomplete code in ossl_pkey_ec.c

Bug #6234: Incomplete code in ossl_pkey_ec.c

Added by rubysubmit (Ruby Submit) over 13 years ago. Updated almost 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p290
Backport:
[ruby-core:43959]

Description

File: ext\openssl\ossl_pkey_ec.c

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

/* BUG: finish me */

        BIO_free(in);

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

Updated by mame (Yusuke Endoh) over 13 years ago Actions #1 [ruby-core:43964]

  • Status changed from Open to Assigned
  • Assignee set to MartinBosslet (Martin Bosslet)

Assigning to emboss too. Thanks.

--
Yusuke Endoh

Updated by MartinBosslet (Martin Bosslet) over 13 years ago Actions #2 [ruby-core:43968]

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

Updated by zzak (zzak _) about 10 years ago Actions #3

  • Assignee changed from MartinBosslet (Martin Bosslet) to 7150

Updated by mame (Yusuke Endoh) almost 7 years ago Actions #4 [ruby-core:89946]

  • Status changed from Assigned to Closed

The comment has been already removed.

Actions

Also available in: PDF Atom