herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
450 stars 152 forks source link

Adding mapToG1 to C-API #151

Closed exfinen closed 1 year ago

exfinen commented 1 year ago

We have been building software based on mcl's C-API, but reazlied that mapToG1 function is only avaialble in C++-API. Is it difficult to have it in C-API as well? We tried to migrate to C++-API, but it was missing functions we need and didn't work either.

herumi commented 1 year ago

Is mclBnFp_mapToG1 not what you need?

exfinen commented 1 year ago

Sorry I have missed it and that seems to be what we need. Thank you for your quick response!