aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls_c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bls_c.cpp')
-rw-r--r--src/bls_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp
index 4d96b9a..df6eda3 100644
--- a/src/bls_c.cpp
+++ b/src/bls_c.cpp
@@ -386,6 +386,6 @@ size_t blsSignatureGetHexStr(char *buf, size_t maxBufSize, const blsSignature *s
}
void blsDHKeyExchange(blsPublicKey *out, const blsSecretKey *sec, const blsPublicKey *pub)
{
- mclBnG2_mul(&out->v, &pub->v, &sec->v);
+ mclBnG2_mulCT(&out->v, &pub->v, &sec->v);
}