aboutsummaryrefslogtreecommitdiff
path: root/ks_mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ks_mmap.c')
-rw-r--r--ks_mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ks_mmap.c b/ks_mmap.c
index 4c752ea..5eb2a13 100644
--- a/ks_mmap.c
+++ b/ks_mmap.c
@@ -168,6 +168,7 @@ hal_error_t hal_ks_get_kek(uint8_t *kek,
return err;
memcpy(kek, kekbuf, len);
+ *kek_len = len;
return HAL_OK;
}