Skip to content
Snippets Groups Projects
Commit 020937ea authored by Josh Brooks's avatar Josh Brooks
Browse files

Add a benchmark iteration arount the CreateDHSessionKey function call

parent beb7556a
Branches
Tags
No related merge requests found
......@@ -261,7 +261,8 @@ func BenchmarkCreateDHSessionKey(b *testing.B) {
privKey, _ := CreateDHKeyPair(grp)
b.ResetTimer()
for n := 0; n < b.N; n++ {
CreateDHSessionKey(pubKey, privKey, grp)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment