diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-12-24 15:31:55 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-12-24 15:31:55 +0800 |
commit | 57f11a58546030a108ae185fb9079e1b29f1d032 (patch) | |
tree | 514c9486cf7971b14e62950b2bb07c36cc878f2c /src | |
parent | 8c7256c6becf7b3e3249cd280c3ec00bf464c2d1 (diff) | |
download | dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.tar dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.tar.gz dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.tar.bz2 dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.tar.lz dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.tar.xz dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.tar.zst dexon-bls-57f11a58546030a108ae185fb9079e1b29f1d032.zip |
remove old deserialize apinew_deserialize_api
Diffstat (limited to 'src')
-rw-r--r-- | src/bls_c.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bls_c.cpp b/src/bls_c.cpp index 7179cd5..568a49d 100644 --- a/src/bls_c.cpp +++ b/src/bls_c.cpp @@ -205,19 +205,19 @@ mclSize blsSignatureSerialize(void *buf, mclSize maxBufSize, const blsSignature { return mclBnG1_serialize(buf, maxBufSize, &sig->v); } -mclRetType blsIdDeserialize(blsId *id, const void *buf, mclSize bufSize) +mclSize blsIdDeserialize(blsId *id, const void *buf, mclSize bufSize) { return mclBnFr_deserialize(&id->v, buf, bufSize); } -mclRetType blsSecretKeyDeserialize(blsSecretKey *sig, const void *buf, mclSize bufSize) +mclSize blsSecretKeyDeserialize(blsSecretKey *sig, const void *buf, mclSize bufSize) { return mclBnFr_deserialize(&sig->v, buf, bufSize); } -mclRetType blsPublicKeyDeserialize(blsPublicKey *pub, const void *buf, mclSize bufSize) +mclSize blsPublicKeyDeserialize(blsPublicKey *pub, const void *buf, mclSize bufSize) { return mclBnG2_deserialize(&pub->v, buf, bufSize); } -mclRetType blsSignatureDeserialize(blsSignature *sig, const void *buf, mclSize bufSize) +mclSize blsSignatureDeserialize(blsSignature *sig, const void *buf, mclSize bufSize) { return mclBnG1_deserialize(&sig->v, buf, bufSize); } |