aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-06-06 06:21:33 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-06-06 06:21:33 +0800
commit5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2 (patch)
tree002b283c9a182a85017d274d812dd73c36af5e4f
parent0d6d8737af82dfc9cfdf744bbdfa0c26a5693f91 (diff)
downloaddexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.tar
dexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.tar.gz
dexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.tar.bz2
dexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.tar.lz
dexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.tar.xz
dexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.tar.zst
dexon-bls-5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2.zip
fix blsId
-rw-r--r--include/bls/bls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h
index 69fafcd..32fdd7f 100644
--- a/include/bls/bls.h
+++ b/include/bls/bls.h
@@ -57,13 +57,13 @@ BLS_DLL_API int blsGetCurveOrder(char *buf, size_t maxBufSize);
BLS_DLL_API int blsGetFieldOrder(char *buf, size_t maxBufSize);
// return written byte size if success else 0
-BLS_DLL_API size_t blsIDSerialize(void *buf, size_t maxBufSize, const blsId *id);
+BLS_DLL_API size_t blsIdSerialize(void *buf, size_t maxBufSize, const blsId *id);
BLS_DLL_API size_t blsSecretKeySerialize(void *buf, size_t maxBufSize, const blsSecretKey *sec);
BLS_DLL_API size_t blsPublicKeySerialize(void *buf, size_t maxBufSize, const blsPublicKey *pub);
BLS_DLL_API size_t blsSignatureSerialize(void *buf, size_t maxBufSize, const blsSignature *sig);
// return 1 if same else 0
-BLS_DLL_API int blsIDDeserialize(blsId *id, const void *buf, size_t bufSize);
+BLS_DLL_API int blsIdDeserialize(blsId *id, const void *buf, size_t bufSize);
BLS_DLL_API int blsSecretKeyDeserialize(blsSecretKey *sec, const void *buf, size_t bufSize);
BLS_DLL_API int blsPublicKeyDeserialize(blsPublicKey *pub, const void *buf, size_t bufSize);
BLS_DLL_API int blsSignatureDeserialize(blsSignature *sig, const void *buf, size_t bufSize);