init: v1.0.0

This commit is contained in:
yaole
2026-05-27 23:03:00 +08:00
commit 8d97f750eb
466 changed files with 80067 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
///
/// Copyright (c) 2018 xdx. All rights reserved.
///
/// \file: kdf.go
///
/// \brief:
///
/// \author: xdx
///
package kdf
// KDFInterface Kdf
type KDFInterface interface {
// fill out with kdf data
// out should not in inputs
Kdf(out []byte, inputs ...[]byte) error
}
// StdKdf is the kdf used in sm2 and sm9
// @deprecated use SMKDF instead
var StdKdf KDFInterface = new(smKDF)
// SMKDF is the kdf used in sm2 and sm9
var SMKDF KDFInterface = new(smKDF)