From d1f1c8081c37eb9890c4e2952681f1d73745fbea Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sat, 24 Jun 2017 09:22:00 +0900 Subject: const time version of G2::mul --- src/bls_c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3