miracl / MIRACL

MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).
https://miracl.com
654 stars 242 forks source link

C implementations of pairing-based examples? #6

Closed chris-wood closed 9 years ago

chris-wood commented 10 years ago

Is there a way to easily convert the existing pairing-based examples, e.g., bgw.cpp, to a C implementation, or does such implementations already exist?

Thanks!

mcarrickscott commented 10 years ago

Hello Chris,

Short answer is No. However we have done such conversions ourselves...

Mike


From: chris-wood notifications@github.com Sent: 25 July 2014 01:15 To: CertiVox/MIRACL Subject: [MIRACL] C implementations of pairing-based examples? (#6)

Is there a way to easily convert the existing pairing-based examples, e.g., bgw.cpp, to a C implementation, or does such implementations already exist?

Thanks!

Reply to this email directly or view it on GitHubhttps://github.com/CertiVox/MIRACL/issues/6.

chris-wood commented 10 years ago

I do recall talking with you last summer, but I can't remember what we discussed, nor can I find the email chain! In any case, would it be overly difficult to convert this code to C? Can you provide any pointers, or maybe your own conversions?

mcarrickscott commented 10 years ago

Not sure if you got my earlier reply on this, which was along the lines of no, its not trivial, but yes we have done something like this ourselves internally.

Assuming you are talking about BN curves and pairings, most of the pairing code is implemented in C already, except the F_p^{12]} extension code, which amounts to a translation of zzn12a.cpp from C++ to C.

Mike


From: chris-wood notifications@github.com Sent: 25 July 2014 16:38 To: CertiVox/MIRACL Cc: Mike Scott Subject: Re: [MIRACL] C implementations of pairing-based examples? (#6)

I do recall talking with you last summer, but I can't remember what we discussed, nor can I find the email chain! In any case, would it be overly difficult to convert this code to C? Can you provide any pointers?

Reply to this email directly or view it on GitHubhttps://github.com/CertiVox/MIRACL/issues/6#issuecomment-50166319.

chris-wood commented 9 years ago

Should have closed this long, long ago.