aboutsummaryrefslogtreecommitdiff
path: root/ks_mmap.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-03-11 19:24:00 -0500
committerRob Austein <sra@hactrn.net>2016-03-11 19:24:00 -0500
commit7e4d5d73cf1fdcbee10a06a307529955ad17919e (patch)
tree97a635c28724e4eacccc555f0bac027fd350f97c /ks_mmap.c
parent0b8820c33421d5c23022af326ada1815fb5c742d (diff)
First round of debugging based on RPC pkey tests: mostly ASN.1
silliness, with a bit of PKCS #1.5 padding silliness for desert.
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;
}