Documentation ¶
Index ¶
- Constants
- func FF00(x, y, z uint32) uint32
- func FF16(x, y, z uint32) uint32
- func GETU32(ptr []byte) uint32
- func GG00(x, y, z uint32) uint32
- func GG16(x, y, z uint32) uint32
- func New() hash.Hash
- func P0(x uint32) uint32
- func P1(x uint32) uint32
- func PUTU32(ptr []byte, a uint32)
- func ROTL(x uint32, n uint32) uint32
- func Sum(data []byte) (sum [Size]byte)
- type DF
- type Rand
Constants ¶
View Source
const BlockSize = 64
The blocksize of SM3 in bytes.
View Source
const BlockSizeDF = 64
The blocksize of SM3-DF in bytes.
View Source
const MAX_RESEED_COUNTER = (1 << 20)
View Source
const MAX_RESEED_SECONDS = 600
View Source
const Size = 32
The size of an SM3 checksum in bytes.
View Source
const SizeDF = 55
The size of an SM3-DF checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.