Switch back to cryspen repo

This commit is contained in:
Georgio Nicolas
2025-08-19 13:56:00 +02:00
parent 7d8a31339e
commit d5194722cf
3 changed files with 8 additions and 10 deletions
+3 -3
View File
@@ -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]
+4 -4
View File
@@ -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"] }
+1 -3
View File
@@ -78,11 +78,9 @@ impl<'a, T: PSQ> PSQInitiator<T> {
// 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,
}
}