diff options
Diffstat (limited to 'src/bls_c.cpp')
-rw-r--r-- | src/bls_c.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp index d983ff2..5ea665c 100644 --- a/src/bls_c.cpp +++ b/src/bls_c.cpp @@ -240,6 +240,16 @@ int blsGetFieldOrder(char *buf, mclSize maxBufSize) return (int)Fp::getModulo(buf, maxBufSize); } +int blsGetG1ByteSize() +{ + return mclBn_getG1ByteSize(); +} + +int blsGetFrByteSize() +{ + return mclBn_getFrByteSize(); +} + void blsGetGeneratorOfG2(blsPublicKey *pub) { *(G2*)pub = getQ(); |