aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-06-13 05:03:53 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-06-13 05:03:53 +0800
commit5987b59cdde93f3c59d4e7b1df4309bee091a694 (patch)
treefc8cd264f28ab7d83d0821022cf3d60d05505e7f /include/bls
parenteb273023ea16d139ba227662d8c29adf20bb23af (diff)
downloaddexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.tar
dexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.tar.gz
dexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.tar.bz2
dexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.tar.lz
dexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.tar.xz
dexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.tar.zst
dexon-bls-5987b59cdde93f3c59d4e7b1df4309bee091a694.zip
change const char * to const void *
Diffstat (limited to 'include/bls')
-rw-r--r--include/bls/bls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h
index e15a82b..54f14de 100644
--- a/include/bls/bls.h
+++ b/include/bls/bls.h
@@ -115,7 +115,7 @@ BLS_DLL_API int blsSecretKeyRecover(blsSecretKey *sec, const blsSecretKey *secVe
BLS_DLL_API int blsPublicKeyRecover(blsPublicKey *pub, const blsPublicKey *pubVec, const blsId *idVec, size_t n);
BLS_DLL_API int blsSignatureRecover(blsSignature *sig, const blsSignature *sigVec, const blsId *idVec, size_t n);
-BLS_DLL_API void blsSign(blsSignature *sig, const blsSecretKey *sec, const char *m, size_t size);
+BLS_DLL_API void blsSign(blsSignature *sig, const blsSecretKey *sec, const void *m, size_t size);
// return 1 if valid
BLS_DLL_API int blsVerify(const blsSignature *sig, const blsPublicKey *pub, const void *m, size_t size);