mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-13 11:54:46 -04:00
Fix unimplemented funcs in rsa3072
This commit is contained in:
@ -17,12 +17,12 @@ type (
|
||||
|
||||
// Len implements types.SigningPrivateKey.
|
||||
func (r *RSA3072PrivateKey) Len() int {
|
||||
panic("unimplemented")
|
||||
return len(r)
|
||||
}
|
||||
|
||||
// NewSigner implements types.SigningPrivateKey.
|
||||
func (r *RSA3072PrivateKey) NewSigner() (types.Signer, error) {
|
||||
panic("unimplemented")
|
||||
return r, nil
|
||||
}
|
||||
|
||||
// Sign implements types.Signer - signs data with SHA512 hash
|
||||
|
Reference in New Issue
Block a user