mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
fix(hal/testapps): fix block number to burn keys to avoid overlapping
This commit is contained in:
23
components/hal/test_apps/crypto/main/hal_crypto_common.h
Normal file
23
components/hal/test_apps/crypto/main/hal_crypto_common.h
Normal 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
|
Reference in New Issue
Block a user