Software APIs
ecc256_keygen_sca.h
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_ECC256_KEYGEN_SCA_H_
6 #define OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_ECC256_KEYGEN_SCA_H_
7 
8 #include "sw/device/lib/crypto/drivers/otbn.h"
9 
10 /**
11  * App configuration for p256_key_from_seed_sca
12  */
13 OTBN_DECLARE_APP_SYMBOLS(p256_key_from_seed_sca);
14 
15 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, mode);
16 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, seed0);
17 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, seed1);
18 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, d0);
19 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, d1);
20 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, x);
21 OTBN_DECLARE_SYMBOL_ADDR(p256_key_from_seed_sca, y);
22 
23 extern const otbn_app_t kOtbnAppP256KeyFromSeed;
24 
25 static const otbn_addr_t kOtbnVarMode;
26 static const otbn_addr_t kOtbnVarSeed0;
27 static const otbn_addr_t kOtbnVarSeed1;
28 static const otbn_addr_t kOtbnVarD0;
29 static const otbn_addr_t kOtbnVarD1;
30 
31 #endif // OPENTITAN_SW_DEVICE_TESTS_PENETRATIONTESTS_FIRMWARE_SCA_ECC256_KEYGEN_SCA_H_