From 38c4b787fa7c1f5e7fbf810cdda136621dd743b7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 13 Sep 2016 16:37:39 -0400 Subject: Cleanup prior to rewriting ks_flash.c. Whack masterkey code to meet libhal coding standards, such as they are. Started layout of new ks_flash data structures but no changes to functions or flash usage yet. MKM initialization from flash placed under compile-time conditional with warning because it's a dangerous kludge that should go away. Started getting rid of obsolete keystore code; ks_mmap.c kept for now, until I get around to merging the useful bits into ks_volatile. --- ks_mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ks_mmap.c') diff --git a/ks_mmap.c b/ks_mmap.c index 6d9ac6f..066e93e 100644 --- a/ks_mmap.c +++ b/ks_mmap.c @@ -144,7 +144,7 @@ hal_error_t hal_set_pin(const hal_user_t user, return HAL_OK; } -hal_error_t hal_get_kek(uint8_t *kek, +hal_error_t hal_mkm_get_kek(uint8_t *kek, size_t *kek_len, const size_t kek_max) { -- cgit v1.2.3