aboutsummaryrefslogtreecommitdiff
path: root/nearby/connections/ukey2/ukey2_connections/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nearby/connections/ukey2/ukey2_connections/src/lib.rs')
-rw-r--r--nearby/connections/ukey2/ukey2_connections/src/lib.rs30
1 files changed, 30 insertions, 0 deletions
diff --git a/nearby/connections/ukey2/ukey2_connections/src/lib.rs b/nearby/connections/ukey2/ukey2_connections/src/lib.rs
new file mode 100644
index 0000000..fc29772
--- /dev/null
+++ b/nearby/connections/ukey2/ukey2_connections/src/lib.rs
@@ -0,0 +1,30 @@
+#![allow(missing_docs)]
+// Copyright 2023 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+mod crypto_utils;
+mod d2d_connection_context_v1;
+mod d2d_handshake_context;
+mod java_utils;
+#[cfg(test)]
+mod tests;
+
+pub use d2d_connection_context_v1::{
+ Aes256Key, D2DConnectionContextV1, DecodeError, DeserializeError,
+};
+pub use d2d_handshake_context::{
+ D2DHandshakeContext, HandleMessageError, HandshakeError, InitiatorD2DHandshakeContext,
+ ServerD2DHandshakeContext,
+};
+pub use ukey2_rs::HandshakeImplementation;