Try out another curve

This commit is contained in:
Rohit Aggarwal 2018-03-08 16:56:40 +00:00
parent 4b4d312018
commit 0a38b5a9ef
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ mod test {
use ec::EcGroup; use ec::EcGroup;
use super::*; use super::*;
static CURVE_IDENTIFER: Nid = Nid::X9_62_PRIME192V1; static CURVE_IDENTIFER: Nid = Nid::X9_62_C2TNB191V1;
static DGST_LEN: i32 = 20; static DGST_LEN: i32 = 20;
fn get_public_key(group: &EcGroup, x: &EcKey<Private>) -> Result<EcKey<Public>, ErrorStack> { fn get_public_key(group: &EcGroup, x: &EcKey<Private>) -> Result<EcKey<Public>, ErrorStack> {