From e5929d4ce19d102e9b6633971fa8076ae44ed796 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sat, 30 Jun 2018 14:54:29 -0700 Subject: [PATCH] use siec --- src/pake/pake_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pake/pake_test.go b/src/pake/pake_test.go index a4bd02a..6eec644 100644 --- a/src/pake/pake_test.go +++ b/src/pake/pake_test.go @@ -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)