From 20cb5b8c2b4f8a5802898a5e214b5565f9a3f15c Mon Sep 17 00:00:00 2001 From: Jonas Schneider-Bensch Date: Wed, 12 Jun 2024 10:50:51 +0200 Subject: [PATCH] Merge imports --- src/hpke/hpke.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/hpke/hpke.rs b/src/hpke/hpke.rs index 3d2e2a4d7..1348a3e4b 100644 --- a/src/hpke/hpke.rs +++ b/src/hpke/hpke.rs @@ -1,14 +1,13 @@ #![allow(non_camel_case_types, non_snake_case, unused_imports)] -use libcrux_ecdh::secret_to_public; -use libcrux_ecdh::x25519_derive; -use libcrux_ecdh::X25519PublicKey; +use libcrux_ecdh::{secret_to_public, x25519_derive, X25519PublicKey}; -use crate::ecdh; -use crate::kem; -use crate::kem::{ - kyber::kyber768, Ct, PublicKey, Ss, X25519MlKem768Draft00PrivateKey, - X25519MlKem768Draft00PublicKey, XWingKemDraft02PrivateKey, XWingKemDraft02PublicKey, +use crate::{ + ecdh, + kem::{ + self, kyber::kyber768, Ct, PublicKey, Ss, X25519MlKem768Draft00PrivateKey, + X25519MlKem768Draft00PublicKey, XWingKemDraft02PrivateKey, XWingKemDraft02PublicKey, + }, }; use super::aead::*;