aboutsummaryrefslogtreecommitdiff
path: root/ks_mmap.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-13 16:37:39 -0400
committerRob Austein <sra@hactrn.net>2016-09-13 16:37:39 -0400
commit38c4b787fa7c1f5e7fbf810cdda136621dd743b7 (patch)
tree2d6377c6112b98aa4e76d6ae3f1c0dfa64656215 /ks_mmap.c
parent8c3743eee739afa344139ab17d8008131555862d (diff)
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.
Diffstat (limited to 'ks_mmap.c')
-rw-r--r--ks_mmap.c2
1 files changed, 1 insertions, 1 deletions
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)
{