Skip to content

Commit

Permalink
add a note to future-us
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Oct 31, 2023
1 parent 133efd7 commit 6945b3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/pubkey/hss_lms/hss_lms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ bool HSS_LMS_PublicKey::supports_operation(PublicKeyOperation op) const {
}

std::unique_ptr<Private_Key> HSS_LMS_PublicKey::generate_another(RandomNumberGenerator&) const {
// For this key type we cannot derive all required parameters from just
// the public key. It is however possible to call HSS_LMS_PrivateKey::generate_another().
throw Not_Implemented("Cannot generate a new HSS/LMS keypair from a public key");
}

Expand Down

0 comments on commit 6945b3b

Please sign in to comment.