mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-26 17:03:43 +02:00
Some renaming to be logical.
This commit is contained in:
parent
b1f67b13f9
commit
6d232f817c
4 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
|||
* https://www.zerotier.com/
|
||||
*/
|
||||
|
||||
pub mod c25519;
|
||||
pub mod hash;
|
||||
pub mod hex;
|
||||
pub mod kbkdf;
|
||||
|
@ -16,6 +15,7 @@ pub mod random;
|
|||
pub mod salsa;
|
||||
pub mod secret;
|
||||
pub mod varint;
|
||||
pub mod x25519;
|
||||
|
||||
pub use aes_gmac_siv;
|
||||
pub use rand_core;
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
use std::io::Write;
|
||||
|
||||
use zerotier_core_crypto::c25519::{C25519KeyPair, C25519_PUBLIC_KEY_SIZE};
|
||||
use zerotier_core_crypto::hash::{hmac_sha512, SHA512};
|
||||
use zerotier_core_crypto::p384::{P384KeyPair, P384PublicKey, P384_PUBLIC_KEY_SIZE};
|
||||
use zerotier_core_crypto::secret::Secret;
|
||||
use zerotier_core_crypto::x25519::{C25519KeyPair, C25519_PUBLIC_KEY_SIZE};
|
||||
|
||||
pub const ALGORITHM_C25519: u8 = 0x01;
|
||||
pub const ALGORITHM_ECC_NIST_P384: u8 = 0x02;
|
||||
|
|
|
@ -19,12 +19,12 @@ use lazy_static::lazy_static;
|
|||
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
||||
use zerotier_core_crypto::c25519::*;
|
||||
use zerotier_core_crypto::hash::*;
|
||||
use zerotier_core_crypto::hex;
|
||||
use zerotier_core_crypto::p384::*;
|
||||
use zerotier_core_crypto::salsa::Salsa;
|
||||
use zerotier_core_crypto::secret::Secret;
|
||||
use zerotier_core_crypto::x25519::*;
|
||||
|
||||
use crate::error::{InvalidFormatError, InvalidParameterError};
|
||||
use crate::util::buffer::Buffer;
|
||||
|
|
Loading…
Add table
Reference in a new issue