Does the ruby ECC binding not include ec_point_mul?

It doesn’t appear to after looking at the documentation, but I want to
make sure it isn’t just undocumented before I go to the trouble of
making my own bindings. Regards, roobie doobie doo.

Function EC_POINTs_mul for multiple scalar multiplication
of an arbitrary number of elliptic curve points
m scalars[i]points[i],
optionally including the generator defined for the EC_GROUP:
scalar
generator + m scalars[i]*points[i].

  EC_POINT_mul is a simple wrapper function for the typical case
  that the point list  has just one item (besides the optional
  generator).

Just figured out how to check for all methods and see that the
documentation isn’t lacking, just the ruby bindings for OpenSSL. Are
there any plans to provide support for this in the future? Anyway, I
will try now to make bindings for it myself, but this seems like quite a
headache and requires me to know some C (which I do not, but I can
probably figure it out enough to do this).

This functionality is required for people who want to generate
public keys from private keys, so it seems like something to consider
adding bindings for, the next time people who maintain this decide to
add features and have some free time :).

okay have done so, thanks! For now I will probably use ffi to get this
functionality, and then switch to the regular ruby wrapper for it when
you are done :).

Am 17. April 2012 13:07 schrieb roobie doo [email protected]:

okay have done so, thanks! For now I will probably use ffi to get this
functionality, and then switch to the regular ruby wrapper for it when
you are done :).

Sounds good :slight_smile:

Am 17. April 2012 12:24 schrieb roobie doo [email protected]:

Posted via http://www.ruby-forum.com/.
Hi,

please open a ticket on bugs.ruby-lang.org and assign it to me. I wanted
to add some things to Ruby’s ECC implementation in the near future, I
might add this as well then!

-Martin