Commit Graph

5 Commits

Author SHA1 Message Date
web3-bot
55c3c00979 bump go.mod to Go 1.16 and run go fix 2021-12-10 11:50:44 +00:00
Steven Allen
ecfa88cc5b fix: unsafe pointer passing
Use github.com/mattn/go-pointer to save/restore "pointers" across FFI
bounderies. Go reserves the right to move pointers, so using
`unsafe.Pointer` for this is not safe.
2021-08-27 10:46:42 -07:00
Steven Allen
f99684446c feat: add Size function to PublicKey
This allows us to determine the size of signatures produced by a public key.
Incidentally, this also allows us to determine the size of an RSA key's modulus.
2019-10-21 15:24:42 -07:00
Steven Allen
01a7c5e769 move to libp2p 2019-06-29 11:53:15 +02:00
Jeff Wendling
9386dd2f5b fix bug with SetPadding and add go.mod 2018-09-05 07:04:03 -06:00