Documentation ¶
Overview ¶
// Copyright 2017 cetc-30. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file.
// Package china crypto algorithm implements the sm2, sm3, sm4 algorithms
Index ¶
Constants ¶
View Source
const ( ENC cryptMode = iota DEC )
View Source
const BlockSize = 16
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeySizeError ¶
type KeySizeError int
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.