diff options
Diffstat (limited to 'src/bls_c.cpp')
-rw-r--r-- | src/bls_c.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp index a6c24e2..4bac71d 100644 --- a/src/bls_c.cpp +++ b/src/bls_c.cpp @@ -712,6 +712,10 @@ int blsGetFieldOrder(char *buf, size_t maxBufSize) return 0; } +void blsGetGeneratorOfG2(blsPublicKey *pub) +{ + *(G2*)pub = bls2::getQ(); +} void blsGetPublicKey(blsPublicKey *pub, const blsSecretKey *sec) { |