mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
sm9: remove duplicated code
This commit is contained in:
parent
d7e853277a
commit
63668bb045
@ -473,9 +473,6 @@ func DecryptASN1(priv *EncryptPrivateKey, uid, ciphertext []byte) ([]byte, error
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
hash := sm3.New()
|
||||
hash.Write(c2Bytes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user