summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2017-09-20 21:07:24 +0200
committerChristian Pointner <equinox@anytun.org>2017-09-20 21:07:24 +0200
commited7f8db4e6a21175abf4ab1c3f97e3a4dd1795b8 (patch)
treeb07c670e515e1c53d02381b19370f9944e4b04f4
parentproperly intialize sequence window with top value (diff)
found a more global place :)
-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
+)