From 5724b3a4bb5be40f5b4c5a87e38f6b0e83190ec2 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 6 Jun 2017 07:21:33 +0900 Subject: fix blsId --- include/bls/bls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3