Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SM3 ¶
type SM3 struct {
// contains filtered or unexported fields
}
func (*SM3) BlockSize ¶
BlockSize, required by the hash.Hash interface. BlockSize returns the hash's underlying block size. The Write method must be able to accept any amount of data, but it may operate more efficiently if all writes are a multiple of the block size.
func (*SM3) Reset ¶
func (sm3 *SM3) Reset()
Reset clears the internal state by zeroing bytes in the state buffer. This can be skipped for a newly-created hash state; the default zero-allocated state is correct.
func (*SM3) Size ¶
Size, required by the hash.Hash interface. Size returns the number of bytes Sum will return.
Click to show internal directories.
Click to hide internal directories.