diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bls_if.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bls_if.cpp b/src/bls_if.cpp index 6021c30..9054bb4 100644 --- a/src/bls_if.cpp +++ b/src/bls_if.cpp @@ -87,6 +87,10 @@ void blsSecretKeyPut(const blsSecretKey *sec) { std::cout << *(const bls::SecretKey*)sec << std::endl; } +void blsSecretKeySetArray(blsSecretKey *sec, const uint64_t *p) +{ + ((bls::SecretKey*)sec)->set(p); +} int blsSecretKeySetStr(blsSecretKey *sec, const char *buf, size_t bufSize) { |