summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--satp/crypto-kd.go8
-rw-r--r--satp/satp.go7
2 files changed, 7 insertions, 8 deletions
diff --git a/satp/crypto-kd.go b/satp/crypto-kd.go
index 16f2192..823c5bb 100644
--- a/satp/crypto-kd.go
+++ b/satp/crypto-kd.go
@@ -30,14 +30,6 @@
package satp
-// TODO: move this to a more global place
-type Direction int
-
-const (
- Inbound Direction = iota
- Outbound
-)
-
type KDRole int
type KeyUsage int
type Label uint32
diff --git a/satp/satp.go b/satp/satp.go
index 09e5c59..f91a6ea 100644
--- a/satp/satp.go
+++ b/satp/satp.go
@@ -29,3 +29,10 @@
//
package satp
+
+type Direction int
+
+const (
+ Inbound Direction = iota
+ Outbound
+)