Skip to content

Commit

Permalink
WIP finalize_sst_keygen
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Sep 6, 2024
1 parent 8b66ae4 commit 03e957a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sst/gen_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ pub fn finalize_sst_keygen<H: HashChain>(
HssPublicKey::from_with_sst(&rfc_private_key, aux_data, interm_nodes, tree_identifier)
.map_err(|_| Error::new())?;

let verifying_key = VerifyingKey::<H>::from_bytes(&hss_public_key.to_binary_representation())?;

Ok(verifying_key)
VerifyingKey::<H>::from_bytes(&hss_public_key.to_binary_representation())
}

#[cfg(test)]
Expand Down

0 comments on commit 03e957a

Please sign in to comment.