[FL-1490] FuriHal: crypto api. Crypto cli tool. (#702)
* FuriHal: crypto layer * Furi: add crash routine. * FuriHal: crypto api. Crypto: cli command to manipulate secure enclave and encrypt/decrypt plain text. * DeviceInfo: secure enclave verification. * Rename original to enclave_valid * Update expected enclave signature to match production keys * F7: remove unused files
This commit is contained in:
		| @@ -1,54 +0,0 @@ | ||||
| /** | ||||
|   ****************************************************************************** | ||||
|   * @file    aes.h | ||||
|   * @brief   This file contains all the function prototypes for | ||||
|   *          the aes.c file | ||||
|   ****************************************************************************** | ||||
|   * @attention | ||||
|   * | ||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. | ||||
|   * All rights reserved.</center></h2> | ||||
|   * | ||||
|   * This software component is licensed by ST under Ultimate Liberty license | ||||
|   * SLA0044, the "License"; You may not use this file except in compliance with | ||||
|   * the License. You may obtain a copy of the License at: | ||||
|   *                             www.st.com/SLA0044 | ||||
|   * | ||||
|   ****************************************************************************** | ||||
|   */ | ||||
| /* Define to prevent recursive inclusion -------------------------------------*/ | ||||
| #ifndef __AES_H__ | ||||
| #define __AES_H__ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| /* Includes ------------------------------------------------------------------*/ | ||||
| #include "main.h" | ||||
|  | ||||
| /* USER CODE BEGIN Includes */ | ||||
|  | ||||
| /* USER CODE END Includes */ | ||||
|  | ||||
| extern CRYP_HandleTypeDef hcryp1; | ||||
| extern CRYP_HandleTypeDef hcryp2; | ||||
|  | ||||
| /* USER CODE BEGIN Private defines */ | ||||
|  | ||||
| /* USER CODE END Private defines */ | ||||
|  | ||||
| void MX_AES1_Init(void); | ||||
| void MX_AES2_Init(void); | ||||
|  | ||||
| /* USER CODE BEGIN Prototypes */ | ||||
|  | ||||
| /* USER CODE END Prototypes */ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif /* __AES_H__ */ | ||||
|  | ||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | ||||
| @@ -1,52 +0,0 @@ | ||||
| /** | ||||
|   ****************************************************************************** | ||||
|   * @file    pka.h | ||||
|   * @brief   This file contains all the function prototypes for | ||||
|   *          the pka.c file | ||||
|   ****************************************************************************** | ||||
|   * @attention | ||||
|   * | ||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. | ||||
|   * All rights reserved.</center></h2> | ||||
|   * | ||||
|   * This software component is licensed by ST under Ultimate Liberty license | ||||
|   * SLA0044, the "License"; You may not use this file except in compliance with | ||||
|   * the License. You may obtain a copy of the License at: | ||||
|   *                             www.st.com/SLA0044 | ||||
|   * | ||||
|   ****************************************************************************** | ||||
|   */ | ||||
| /* Define to prevent recursive inclusion -------------------------------------*/ | ||||
| #ifndef __PKA_H__ | ||||
| #define __PKA_H__ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| /* Includes ------------------------------------------------------------------*/ | ||||
| #include "main.h" | ||||
|  | ||||
| /* USER CODE BEGIN Includes */ | ||||
|  | ||||
| /* USER CODE END Includes */ | ||||
|  | ||||
| extern PKA_HandleTypeDef hpka; | ||||
|  | ||||
| /* USER CODE BEGIN Private defines */ | ||||
|  | ||||
| /* USER CODE END Private defines */ | ||||
|  | ||||
| void MX_PKA_Init(void); | ||||
|  | ||||
| /* USER CODE BEGIN Prototypes */ | ||||
|  | ||||
| /* USER CODE END Prototypes */ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif /* __PKA_H__ */ | ||||
|  | ||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | ||||
| @@ -1,50 +0,0 @@ | ||||
| /** | ||||
|   ****************************************************************************** | ||||
|   * @file    rf.h | ||||
|   * @brief   This file contains all the function prototypes for | ||||
|   *          the rf.c file | ||||
|   ****************************************************************************** | ||||
|   * @attention | ||||
|   * | ||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. | ||||
|   * All rights reserved.</center></h2> | ||||
|   * | ||||
|   * This software component is licensed by ST under Ultimate Liberty license | ||||
|   * SLA0044, the "License"; You may not use this file except in compliance with | ||||
|   * the License. You may obtain a copy of the License at: | ||||
|   *                             www.st.com/SLA0044 | ||||
|   * | ||||
|   ****************************************************************************** | ||||
|   */ | ||||
| /* Define to prevent recursive inclusion -------------------------------------*/ | ||||
| #ifndef __RF_H__ | ||||
| #define __RF_H__ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| /* Includes ------------------------------------------------------------------*/ | ||||
| #include "main.h" | ||||
|  | ||||
| /* USER CODE BEGIN Includes */ | ||||
|  | ||||
| /* USER CODE END Includes */ | ||||
|  | ||||
| /* USER CODE BEGIN Private defines */ | ||||
|  | ||||
| /* USER CODE END Private defines */ | ||||
|  | ||||
| void MX_RF_Init(void); | ||||
|  | ||||
| /* USER CODE BEGIN Prototypes */ | ||||
|  | ||||
| /* USER CODE END Prototypes */ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif /* __RF_H__ */ | ||||
|  | ||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | ||||
| @@ -1,52 +0,0 @@ | ||||
| /** | ||||
|   ****************************************************************************** | ||||
|   * @file    rng.h | ||||
|   * @brief   This file contains all the function prototypes for | ||||
|   *          the rng.c file | ||||
|   ****************************************************************************** | ||||
|   * @attention | ||||
|   * | ||||
|   * <h2><center>© Copyright (c) 2021 STMicroelectronics. | ||||
|   * All rights reserved.</center></h2> | ||||
|   * | ||||
|   * This software component is licensed by ST under Ultimate Liberty license | ||||
|   * SLA0044, the "License"; You may not use this file except in compliance with | ||||
|   * the License. You may obtain a copy of the License at: | ||||
|   *                             www.st.com/SLA0044 | ||||
|   * | ||||
|   ****************************************************************************** | ||||
|   */ | ||||
| /* Define to prevent recursive inclusion -------------------------------------*/ | ||||
| #ifndef __RNG_H__ | ||||
| #define __RNG_H__ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| /* Includes ------------------------------------------------------------------*/ | ||||
| #include "main.h" | ||||
|  | ||||
| /* USER CODE BEGIN Includes */ | ||||
|  | ||||
| /* USER CODE END Includes */ | ||||
|  | ||||
| extern RNG_HandleTypeDef hrng; | ||||
|  | ||||
| /* USER CODE BEGIN Private defines */ | ||||
|  | ||||
| /* USER CODE END Private defines */ | ||||
|  | ||||
| void MX_RNG_Init(void); | ||||
|  | ||||
| /* USER CODE BEGIN Prototypes */ | ||||
|  | ||||
| /* USER CODE END Prototypes */ | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif /* __RNG_H__ */ | ||||
|  | ||||
| /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | ||||
		Reference in New Issue
	
	Block a user