kealan commented on issue #38: Python wrappers URL: https://github.com/apache/incubator-milagro-crypto-c/issues/38#issuecomment-521253357 For the constants you may have to write a c function which you wrap with CFFI. Something like this in C. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <amcl/pair_BLS381.h> int main() { BIG_384_58 q2; BIG_384_58 r2; printf("BLS381\n"); BIG_384_58_rcopy(q2,Modulus_BLS381); printf("q (381) = 0x"); BIG_384_58_output(q2); printf("\n"); BIG_384_58_rcopy(r2,CURVE_Order_BLS381); printf("r (257) = 0x"); }
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
