mirror of https://github.com/wolfSSL/wolfBoot.git
fix compile error on the latest TSIP crypt-only
parent
2d819dee84
commit
0eab04618f
|
@ -27,7 +27,7 @@
|
|||
#define H_USER_SETTINGS_
|
||||
|
||||
/* For TSIP use, please enable the following line. */
|
||||
#define WOLFBOOT_RENESAS_TSIP
|
||||
/* #define WOLFBOOT_RENESAS_TSIP */
|
||||
/* For TSIP SRC version use, please enable the following line */
|
||||
/* #define WOLFBOOT_RENESAS_TSIP_SRCVERSION */
|
||||
|
||||
|
@ -183,6 +183,9 @@
|
|||
# define WOLFSSL_SP_NO_4096
|
||||
# endif
|
||||
# define WC_ASN_HASH_SHA256
|
||||
# if defined(WOLFBOOT_RENESAS_TSIP)
|
||||
# define ENCRYPTED_KEY_BYTE_SIZE RSA2048_PUB_SIZE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef WOLFBOOT_SIGN_RSA3072
|
||||
|
|
|
@ -99,7 +99,7 @@ void hal_init(void)
|
|||
(byte*)&encrypted_user_key_data->encrypted_user_key,
|
||||
0/* dummy */);
|
||||
/* TSIP specific RSA public key */
|
||||
if (tsip_use_PublicKey_buffer(&pkInfo,
|
||||
if (tsip_use_PublicKey_buffer_crypt(&pkInfo,
|
||||
(const char*)&encrypted_user_key_data->encrypted_user_key,
|
||||
RSA2048_PUB_SIZE,
|
||||
tsip_key_type) != 0) {
|
||||
|
|
Loading…
Reference in New Issue