aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-05-09 16:51:37 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-05-09 16:51:37 +0800
commit55357674fea8174d31e5242d430eb011fb935b09 (patch)
tree27139484ab7a89416122ac45d57d8743dc4b8db4
parent9fbc26c3f65563de039d86e7425621e689fc332b (diff)
downloaddexon-bls-55357674fea8174d31e5242d430eb011fb935b09.tar
dexon-bls-55357674fea8174d31e5242d430eb011fb935b09.tar.gz
dexon-bls-55357674fea8174d31e5242d430eb011fb935b09.tar.bz2
dexon-bls-55357674fea8174d31e5242d430eb011fb935b09.tar.lz
dexon-bls-55357674fea8174d31e5242d430eb011fb935b09.tar.xz
dexon-bls-55357674fea8174d31e5242d430eb011fb935b09.tar.zst
dexon-bls-55357674fea8174d31e5242d430eb011fb935b09.zip
rename BlsIoEcComp to blsIoEcComp
-rw-r--r--go/bls/bls.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/go/bls/bls.go b/go/bls/bls.go
index ea6607e..7118287 100644
--- a/go/bls/bls.go
+++ b/go/bls/bls.go
@@ -94,12 +94,12 @@ func (id *ID) SetByte(buf []byte, ioMode int) error {
// Serialize
func (id *ID) Serialize() []byte {
- return id.GetByte(C.BlsIoEcComp)
+ return id.GetByte(C.blsIoEcComp)
}
// Deserialize
func (id *ID) Deserialize(b []byte) error {
- return id.SetByte(b, C.BlsIoEcComp)
+ return id.SetByte(b, C.blsIoEcComp)
}
// GetHexString
@@ -171,12 +171,12 @@ func (sec *SecretKey) SetByte(buf []byte, ioMode int) error {
// Serialize
func (sec *SecretKey) Serialize() []byte {
- return sec.GetByte(C.BlsIoEcComp)
+ return sec.GetByte(C.blsIoEcComp)
}
// Deserialize
func (sec *SecretKey) Deserialize(b []byte) error {
- return sec.SetByte(b, C.BlsIoEcComp)
+ return sec.SetByte(b, C.blsIoEcComp)
}
// GetHexString
@@ -295,12 +295,12 @@ func (pub *PublicKey) SetByte(buf []byte, ioMode int) error {
// Serialize
func (pub *PublicKey) Serialize() []byte {
- return pub.GetByte(C.BlsIoEcComp)
+ return pub.GetByte(C.blsIoEcComp)
}
// Deserialize
func (pub *PublicKey) Deserialize(b []byte) error {
- return pub.SetByte(b, C.BlsIoEcComp)
+ return pub.SetByte(b, C.blsIoEcComp)
}
// GetHexString
@@ -371,12 +371,12 @@ func (sign *Sign) SetByte(buf []byte, ioMode int) error {
// Serialize
func (sign *Sign) Serialize() []byte {
- return sign.GetByte(C.BlsIoEcComp)
+ return sign.GetByte(C.blsIoEcComp)
}
// Deserialize
func (sign *Sign) Deserialize(b []byte) error {
- return sign.SetByte(b, C.BlsIoEcComp)
+ return sign.SetByte(b, C.blsIoEcComp)
}
// GetHexString