mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 12:46:18 +08:00
11 lines
303 B
Go
11 lines
303 B
Go
package sm4
|
|
|
|
import "crypto/cipher"
|
|
|
|
// cbcDecAble is implemented by cipher.Blocks that can provide an optimized
|
|
// implementation of CBC decryption through the cipher.BlockMode interface.
|
|
// See crypto/cipher/cbc.go.
|
|
type cbcDecAble interface {
|
|
NewCBCDecrypter(iv []byte) cipher.BlockMode
|
|
}
|