summaryrefslogtreecommitdiff
path: root/cesar/bsu/stub/src/bsu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/stub/src/bsu.c')
-rw-r--r--cesar/bsu/stub/src/bsu.c30
1 files changed, 19 insertions, 11 deletions
diff --git a/cesar/bsu/stub/src/bsu.c b/cesar/bsu/stub/src/bsu.c
index c97faf9512..4e23c1d472 100644
--- a/cesar/bsu/stub/src/bsu.c
+++ b/cesar/bsu/stub/src/bsu.c
@@ -13,22 +13,30 @@
#include "common/std.h"
#include "bsu/bsu.h"
-uint
-bsu_nek_index_current (bsu_t *ctx) __attribute ((weak));
-
-uint
-bsu_nek_index_current (bsu_t *ctx)
+ __attribute__ ((weak))
+mac_nek_t *
+bsu_nek_get_current (const bsu_t *ctx)
{
- return 0;
+ static mac_nek_t nek = {
+ .eks = 5,
+ .in_use = true,
+ .nek_enc = { 0xb4096083, 0x97608f74, 0x190e6e1a, 0x75675fc2 },
+ .nek_dec = { 0x14c2a29b, 0x390cfd4d, 0x4cd3eff6, 0x5bd0c032 }
+ };
+
+ return &nek;
}
-uint
-bsu_nek_index_next (bsu_t *ctx) __attribute__ ((weak));
+__attribute__ ((weak))
+void
+bsu_nek_set_next (bsu_t *ctx, mac_nek_t *nek)
+{
+}
-uint
-bsu_nek_index_next (bsu_t *ctx)
+__attribute__ ((weak))
+void
+bsu_nek_use (bsu_t *ctx, mac_nek_t *nek)
{
- return 1;
}
void