0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 21:30:16 +02:00
This commit is contained in:
Zack Scholl 2018-06-30 14:54:29 -07:00
parent a9969b161f
commit f6abf9c4e8

View file

@ -1,14 +1,14 @@
package pake
import (
"crypto/elliptic"
"testing"
"github.com/stretchr/testify/assert"
"github.com/tscholl2/siec"
)
func TestPake(t *testing.T) {
curve := elliptic.P521() //siec.SIEC255()
curve := siec.SIEC255()
// successful (both have same k)
// initialize A
A, err := Init([]byte{1, 2, 3}, 0, curve)