5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-25 15:41:37 +00:00
matterbridge/vendor/go.mau.fi/libsignal/ecc/ECPublicKey.go

12 lines
275 B
Go
Raw Normal View History

2022-01-30 23:27:37 +00:00
package ecc
// KeySize is the size of EC keys (32) with the EC type byte prepended to it.
const KeySize int = 33
// ECPublicKeyable is an interface for all elliptic curve public keys.
type ECPublicKeyable interface {
Serialize() []byte
Type() int
PublicKey() [32]byte
}