From 06f67f3eec60751137bd53f1e3bbad041f2000d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20=C3=85gren?= Date: Mon, 7 Apr 2025 16:39:34 +0200 Subject: [PATCH] fw: Remove check CDI TODO The app has started before calculatate_auth_digest is called --- hw/application_fpga/fw/tk1/auth_app.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/application_fpga/fw/tk1/auth_app.c b/hw/application_fpga/fw/tk1/auth_app.c index 4ee2c07..a782623 100644 --- a/hw/application_fpga/fw/tk1/auth_app.c +++ b/hw/application_fpga/fw/tk1/auth_app.c @@ -17,8 +17,6 @@ static volatile uint32_t *cdi = (volatile uint32_t *)TK1_MMIO_TK1_CDI_FIRST; * Requires that the CDI is already calculated and stored */ static void calculate_auth_digest(uint8_t *nonce, uint8_t *auth_digest) { - /* TODO: Check so the CDI is non-zero? */ - blake2s_ctx ctx = {0}; // Generate a 16 byte authentication digest