Nope, we don't have a public API for modular inverse.
Alex
On Fri, Dec 1, 2017 at 5:38 PM, John Pacific wrote:
> Hey, Alex!
>
> Thanks for the response! I've been using the ECDH API for the scalar
> multiplication, but my last remaining need is for `BN_mod_inverse` and I
> can't seem to find an
Hey, Alex!
Thanks for the response! I've been using the ECDH API for the scalar
multiplication, but my last remaining need is for `BN_mod_inverse` and I
can't seem to find anything on that quite yet. No pointers here, I guess?
Thanks!
-John
On Fri, Dec 1, 2017 at 3:24 PM, Alex Gaynor wrote:
Hi John,
We don't have an API for doing raw EC point arithmetic.
https://github.com/pyca/cryptography/pull/2919 is an issue proposing (and
implementing) it, but I've been very hesitant to expand the API like this.
Point multiplication can be accomplished with the ECDH API.
Alex
On Fri, Dec 1, 2
Hey, folks!
I'm working on prototyping this cryptosystem using cryptography. I'm
porting it from Charm-crypto in Python to this.
Charm crypto overrides some operators to perform scalar multiplication and
modular inverses -- ie: `*` and `~`. When these operators are used with an
EC element, it per