Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanKung committed May 28, 2024
1 parent c51dbe3 commit fdc789f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/ecc/signers/bls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ impl TryFrom<PublicKey> for G1Projective {
}

/// Hashes a message to a 96-byte array using BLS
// https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve/
/// `<https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve/>`
/// TODO:
/// https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-hash-to-curve-12#appendix-K.1
/// `<https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-hash-to-curve-12#appendix-K.1>`
/// Xmd is not implemented here
pub fn hash_to_curve(msg: &[u8]) -> Result<[u8; 96]> {
// let swu_map: WBMap<G1Config> = WBMap::new().unwrap();
Expand Down

0 comments on commit fdc789f

Please sign in to comment.