Searched refs:priv0 (Results 1 – 1 of 1) sorted by relevance
547 let priv0 = ec_key_generate_key()?; in test_ec() localVariable548 assert!(!priv0.0.is_null()); in test_ec()549 let pub0 = ec_key_get0_public_key(&priv0); in test_ec()554 let priv0s = ec_key_marshal_private_key(&priv0)?; in test_ec()558 let priv0 = ec_key_parse_private_key(&priv0s)?; in test_ec() localVariable563 let right_key = ecdh_compute_key(pub1.get_point(), &priv0)?; in test_ec()