Add initial nistec project files
This commit is contained in:
13
p256_ordinv_export_test.go
Normal file
13
p256_ordinv_export_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2022 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package nistec
|
||||
|
||||
// This file exports the P256OrdInverse function so it's accessible during tests
|
||||
// from the unmodified p256_ordinv_test.go from the stdlib, but not as part
|
||||
// of the public API of filippo.io/nistec.
|
||||
|
||||
func P256OrdInverse(k []byte) ([]byte, error) {
|
||||
return p256OrdInverse(k)
|
||||
}
|
||||
Reference in New Issue
Block a user