fix(hal/testapps): fix block number to burn keys to avoid overlapping

This commit is contained in:
nilesh.kale
2023-08-28 16:51:36 +05:30
parent 9bdcfa672f
commit 36ab1c681c
10 changed files with 122 additions and 82 deletions

View File

@@ -0,0 +1,23 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
#pragma once
// efuse key blocks for DS
#define DS_KEY_BLOCK_1 0
#define DS_KEY_BLOCK_2 1
#define DS_KEY_BLOCK_3 2
/*
* HMAC and ECDSA testcases cannot run together as block used for burning keys are overlapped
*/
// efuse key blocks for HMAC
#define HMAC_KEY_BLOCK_1 3
#define HMAC_KEY_BLOCK_2 4
// efuse key blocks for ECDSA
#define ECDSA_KEY_BLOCK_1 4
#define ECDSA_KEY_BLOCK_2 5