herumi / mcl

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

Support for iOS #124

Closed Henzi96 closed 3 years ago

Henzi96 commented 3 years ago

Is there any way to run the MCL library on an Apple mobile device ? Or more generally on iOS devices. I noticed within the library description that support for iOS exists. Also, is there any makefiles that need to be created and the library compiled for the iOS processor architecture? Thank you for the answer.

herumi commented 3 years ago

Could you use a Makefile in https://github.com/herumi/bls-eth-go-binary#ios ? The compiled binary libbls384_256.a contains all functions defined in include/mcl/bn.h.