diff --git a/common/nymnoise/Cargo.toml b/common/nymnoise/Cargo.toml index 56addd5c03..80cb5ecfc8 100644 --- a/common/nymnoise/Cargo.toml +++ b/common/nymnoise/Cargo.toml @@ -23,9 +23,9 @@ nym-crypto = { path = "../crypto" } nym-noise-keys = { path = "keys" } nympsq = {path = "../nympsq"} -libcrux-ed25519 = { git = "https://github.com/georgio/libcrux" } -libcrux-psq = { git = "https://github.com/georgio/libcrux", features = ["test-utils"] } -libcrux-kem = { git = "https://github.com/georgio/libcrux" } +libcrux-ed25519 = { git = "https://github.com/cryspen/libcrux" } +libcrux-psq = { git = "https://github.com/cryspen/libcrux", features = ["test-utils"] } +libcrux-kem = { git = "https://github.com/cryspen/libcrux" } rand = "0.9.2" [dev-dependencies] diff --git a/common/nympsq/Cargo.toml b/common/nympsq/Cargo.toml index fb07b85c8d..286d6f26b1 100644 --- a/common/nympsq/Cargo.toml +++ b/common/nympsq/Cargo.toml @@ -11,10 +11,10 @@ thiserror = { workspace = true } # internal nym-crypto = { path = "../crypto", features = ["asymmetric", "serde"]} -libcrux-traits = { git = "https://github.com/georgio/libcrux" } -libcrux-kem = { git = "https://github.com/georgio/libcrux" } -libcrux-psq = { git = "https://github.com/georgio/libcrux", features = ["test-utils"] } -libcrux-ed25519 = { git = "https://github.com/georgio/libcrux" } +libcrux-traits = { git = "https://github.com/cryspen/libcrux" } +libcrux-kem = { git = "https://github.com/cryspen/libcrux" } +libcrux-psq = { git = "https://github.com/cryspen/libcrux", features = ["test-utils"] } +libcrux-ed25519 = { git = "https://github.com/cryspen/libcrux" } rand = "0.9.2" tls_codec = { version = "0.4.2", features = ["derive"] } diff --git a/common/nympsq/src/psq.rs b/common/nympsq/src/psq.rs index bd1a95007b..848e5a1e5f 100644 --- a/common/nympsq/src/psq.rs +++ b/common/nympsq/src/psq.rs @@ -78,11 +78,9 @@ impl<'a, T: PSQ> PSQInitiator { // In other words, instead of using the responder's PSQ message for key confirmation, // we could use a Noise handshake for key confirmation. - // We need to ask Cryspen to make Initiator.k_pq to be accessible for this. - pub fn get_psk(&self) -> Option<[u8; 32]> { match &self.state { - Some(initiator_state) => Some(initiator_state.unregistered_psk()), + Some(initiator_state) => Some(*initiator_state.unregistered_psk()), None => None, } }