mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
22 lines
363 B
Go
22 lines
363 B
Go
/* +build cgo */
|
|
package gmssl
|
|
|
|
/*
|
|
#include <openssl/evp.h>
|
|
*/
|
|
import "C"
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
func GetKeyDeriveFunctions(aliases bool) []string {
|
|
return []string{"PBKDF2v1", "PBKDFv2", "scrypt"}
|
|
}
|
|
|
|
func DeriveKeyFromPassword(scheme string, args map[string]string, password string, salt []byte) ([]byte, error) {
|
|
return nil, errors.New("Not implemented")
|
|
}
|
|
|
|
|