aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bls.cpp')
-rw-r--r--src/bls.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index a159373..97ca2a1 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -206,6 +206,10 @@ void init(int curve, int maxUnitSize)
g_pQ = &Q;
g_pQcoeff = &Qcoeff;
}
+size_t getOpUnitSize()
+{
+ return sizeof(Fp) / sizeof(uint64_t);
+}
Id::Id(unsigned int id)
{