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.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.c')
-rw-r--r-- | ks.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,6 +93,7 @@ hal_error_t hal_ks_store(const hal_key_type_t type, hal_ks_key_t k; memset(&k, 0, sizeof(k)); + k.der_len = sizeof(k.der); uint8_t kek[KEK_LENGTH]; size_t kek_len; |