diff options
author | Rob Austein <sra@hactrn.net> | 2016-03-11 19:24:00 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-03-11 19:24:00 -0500 |
commit | 7e4d5d73cf1fdcbee10a06a307529955ad17919e (patch) | |
tree | 97a635c28724e4eacccc555f0bac027fd350f97c /ks_volatile.c | |
parent | 0b8820c33421d5c23022af326ada1815fb5c742d (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_volatile.c')
-rw-r--r-- | ks_volatile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ks_volatile.c b/ks_volatile.c index b71e27e..9a47d52 100644 --- a/ks_volatile.c +++ b/ks_volatile.c @@ -132,6 +132,7 @@ hal_error_t hal_ks_get_kek(uint8_t *kek, return err; memcpy(kek, kekbuf, len); + *kek_len = len; return HAL_OK; } |