f6bd511599
* merging georgio/lp-psqv2-integration * use authenicator on the responder's side * nym-lp crate compiling * moved the e2e test to nym-lp * move key generation to peer * moved principal generation * update KKTResponder * encapsulation key parsing * Adding concrete types within KKT exchange * initiator side of the full handshake * responder side of the handshake and full e2e test * fixed unit-tests within nym-kkt * LpSession cleanup * helpers for Transport * revamp of the transport traits and initial work on client-side transport * compiling nym-crypto * 'working' client-entry dvpn reg * Fix key conversion * Slightly reduce use of rand08 * reverted back to libcrux repo refs * intial telescoping reg * removing dead code * wip * moved data encryption into the state machine * restoring nym-lp tests * update lp api model * Add receiver index derivation * Add receiver index derivation * use derived receiver index * feat: add kem key generation to nodes * generate fresh x25519, mlkem768 and mceliece keys on config migration * add lp peer config * nym-node startup cleanup * removed dependency on pre-rand09 from nym-lp * re-expose LP information on the http API * fixed tests compilation * add peer config happy path tests * formatting * add more tests and fix bug * better docs * clippy and formatting issues * return error on mceliece within NestedSession * wasm fixes * removed legacy nym-vpn-lib-wasm * fixing wasm for real this time * additional fixes * add payload to kkt * make clippy happy * moved LP to nym-node crate * cargo fmt * integrate lpconfig payload * fix response size trait impl * Migrate receiver index * Change receiver index to u32 and regorganize crates * clippy * hopefully final wasm fixes * simple conversion method from semver to ciphersuite * updated nym-node config template * chore: remove duplicated code --------- Co-authored-by: Georgio Nicolas <me@georgio.xyz>
32 lines
1014 B
Rust
32 lines
1014 B
Rust
// Copyright 2021 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#[cfg(feature = "asymmetric")]
|
|
pub mod asymmetric;
|
|
pub mod bech32_address_validation;
|
|
#[cfg(feature = "hashing")]
|
|
pub mod crypto_hash;
|
|
#[cfg(feature = "hashing")]
|
|
pub mod hkdf;
|
|
#[cfg(feature = "hashing")]
|
|
pub mod hmac;
|
|
#[cfg(all(feature = "asymmetric", feature = "hashing", feature = "stream_cipher"))]
|
|
pub mod shared_key;
|
|
pub mod symmetric;
|
|
|
|
#[cfg(feature = "hashing")]
|
|
pub use digest::{Digest, OutputSizeUser};
|
|
#[cfg(any(feature = "hashing", feature = "stream_cipher", feature = "aead"))]
|
|
pub use generic_array;
|
|
|
|
// with the below my idea was to try to introduce having a single place of importing all hashing, encryption,
|
|
// etc. algorithms and import them elsewhere as needed via common/crypto
|
|
#[cfg(feature = "stream_cipher")]
|
|
pub use aes;
|
|
#[cfg(feature = "aead")]
|
|
pub use aes_gcm_siv::{Aes128GcmSiv, Aes256GcmSiv};
|
|
#[cfg(feature = "hashing")]
|
|
pub use blake3;
|
|
#[cfg(feature = "stream_cipher")]
|
|
pub use ctr;
|