summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src/main/java/com/wireguard/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/src/main/java/com/wireguard/crypto')
-rw-r--r--tunnel/src/main/java/com/wireguard/crypto/Curve25519.java4
-rw-r--r--tunnel/src/main/java/com/wireguard/crypto/Key.java3
2 files changed, 3 insertions, 4 deletions
diff --git a/tunnel/src/main/java/com/wireguard/crypto/Curve25519.java b/tunnel/src/main/java/com/wireguard/crypto/Curve25519.java
index 7628c566..efc22d6e 100644
--- a/tunnel/src/main/java/com/wireguard/crypto/Curve25519.java
+++ b/tunnel/src/main/java/com/wireguard/crypto/Curve25519.java
@@ -8,10 +8,10 @@ package com.wireguard.crypto;
import com.wireguard.util.NonNullForAll;
-import androidx.annotation.Nullable;
-
import java.util.Arrays;
+import androidx.annotation.Nullable;
+
/**
* Implementation of the Curve25519 elliptic curve algorithm.
* <p>
diff --git a/tunnel/src/main/java/com/wireguard/crypto/Key.java b/tunnel/src/main/java/com/wireguard/crypto/Key.java
index e46150bd..fe03fa2d 100644
--- a/tunnel/src/main/java/com/wireguard/crypto/Key.java
+++ b/tunnel/src/main/java/com/wireguard/crypto/Key.java
@@ -5,9 +5,8 @@
package com.wireguard.crypto;
-import com.wireguard.util.NonNullForAll;
-
import com.wireguard.crypto.KeyFormatException.Type;
+import com.wireguard.util.NonNullForAll;
import java.security.MessageDigest;
import java.security.SecureRandom;