From 323c2e718a997fd05a87d52efa29431d4827f251 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 12 Jun 2017 05:01:50 +0900 Subject: add blsGetGeneratorOfG2 --- include/bls/bls.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/bls') diff --git a/include/bls/bls.h b/include/bls/bls.h index 97bd5e7..6d40a2d 100644 --- a/include/bls/bls.h +++ b/include/bls/bls.h @@ -56,6 +56,9 @@ BLS_DLL_API size_t blsGetOpUnitSize(void); BLS_DLL_API int blsGetCurveOrder(char *buf, size_t maxBufSize); BLS_DLL_API int blsGetFieldOrder(char *buf, size_t maxBufSize); +// get a generator of G2 +BLS_DLL_API void blsGetGeneratorOfG2(blsPublicKey *pub); + BLS_DLL_API void blsIdSetInt(blsId *id, int x); // return 0 if success BLS_DLL_API int blsIdSetDecStr(blsId *id, const char *buf, size_t bufSize); -- cgit v1.2.3