Files
wolfssl/IDE/Renesas/e2studio/GR-ROSE/test/src/key_data.h
2020-07-11 17:17:33 +09:00

56 lines
1.8 KiB
C

/* key_data.h
*
* Copyright (C) 2006-2020 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* wolfSSL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
#ifndef KEY_DATA_H_
#define KEY_DATA_H_
#include <wolfssl/wolfcrypt/settings.h>
#if defined(WOLFSSL_RENESAS_TSIP)
#include "r_tsip_rx_if.h"
typedef struct st_key_block_data
{
uint8_t encrypted_provisioning_key[R_TSIP_AES_CBC_IV_BYTE_SIZE * 2];
uint8_t iv[R_TSIP_AES_CBC_IV_BYTE_SIZE];
uint8_t encrypted_user_rsa2048_ne_key[R_TSIP_RSA2048_NE_KEY_BYTE_SIZE + 16];
uint8_t encrypted_user_update_key[R_TSIP_AES256_KEY_BYTE_SIZE + 16];
} st_key_block_data_t;
#if (WOLFSSL_RENESAS_TSIP_VER >= 109)
extern const uint32_t encrypted_user_key_type;
#endif
extern const st_key_block_data_t g_key_block_data;
extern const unsigned char ca_cert_sig[];
extern const unsigned char ca_cert_der[];
extern const unsigned char client_cert_der_sign[];
extern const int sizeof_ca_cert_der;
#endif /* (WOLFSSL_RENESAS_TSIP */
#endif /* KEY_DATA_H_ */