Files
tss-lib/protob/shared.proto

41 lines
1019 B
Protocol Buffer

// Copyright © 2019 Binance
//
// This file is part of Binance. The full Binance copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
syntax = "proto3";
option go_package = "github.com/binance-chain/tss-lib/common";
message ECPoint {
bytes x = 1;
bytes y = 2;
}
message ECSignature {
bytes signature = 1;
// Ethereum-style Recovery ID: Used to enable extracting the public key from the signature.
bytes signature_recovery = 2;
// Signature components R, S
bytes r = 3;
bytes s = 4;
// M represents the original message digest that was signed M
bytes m = 5;
}
message VSSShareWithAuthSigMessage {
uint32 vss_threshold = 1;
bytes vss_id = 2;
bytes vss_sigma = 3;
uint32 accused_party = 4;
ECPoint auth_sig_pk = 5;
bytes authEcdsaSignature_r = 6;
bytes authEcdsaSignature_s = 7;
repeated bytes Dj = 8;
bytes Cj = 9;
}