mirror of
https://github.com/luxfi/tss.git
synced 2026-10-30 15:14:51 +00:00
28 lines
746 B
Protocol Buffer
28 lines
746 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";
|
|
|
|
package binance.tsslib;
|
|
option go_package = "./common";
|
|
|
|
/*
|
|
* Container for output signatures, mostly used for marshalling this data structure to a mobile app
|
|
*/
|
|
message SignatureData {
|
|
bytes signature = 1;
|
|
|
|
// Ethereum-style recovery byte; only the first byte is relevant
|
|
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;
|
|
}
|