Searched refs:hrng (Results 1 – 9 of 9) sorted by relevance
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rng.c | 116 HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng) in HAL_RNG_Init() argument 119 if(hrng == NULL) in HAL_RNG_Init() 124 assert_param(IS_RNG_ALL_INSTANCE(hrng->Instance)); in HAL_RNG_Init() 126 assert_param(IS_RNG_CED(hrng->Init.ClockErrorDetection)); in HAL_RNG_Init() 129 if(hrng->State == HAL_RNG_STATE_RESET) in HAL_RNG_Init() 132 hrng->Lock = HAL_UNLOCKED; in HAL_RNG_Init() 135 HAL_RNG_MspInit(hrng); in HAL_RNG_Init() 139 hrng->State = HAL_RNG_STATE_BUSY; in HAL_RNG_Init() 143 MODIFY_REG(hrng->Instance->CR, RNG_CR_CED, hrng->Init.ClockErrorDetection); in HAL_RNG_Init() 147 __HAL_RNG_ENABLE(hrng); in HAL_RNG_Init() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rng.c | 116 HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng) in HAL_RNG_Init() argument 119 if(hrng == NULL) in HAL_RNG_Init() 124 assert_param(IS_RNG_ALL_INSTANCE(hrng->Instance)); in HAL_RNG_Init() 126 assert_param(IS_RNG_CED(hrng->Init.ClockErrorDetection)); in HAL_RNG_Init() 129 if(hrng->State == HAL_RNG_STATE_RESET) in HAL_RNG_Init() 132 hrng->Lock = HAL_UNLOCKED; in HAL_RNG_Init() 135 HAL_RNG_MspInit(hrng); in HAL_RNG_Init() 139 hrng->State = HAL_RNG_STATE_BUSY; in HAL_RNG_Init() 143 MODIFY_REG(hrng->Instance->CR, RNG_CR_CED, hrng->Init.ClockErrorDetection); in HAL_RNG_Init() 147 __HAL_RNG_ENABLE(hrng); in HAL_RNG_Init() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rng.h | 248 HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng); 249 HAL_StatusTypeDef HAL_RNG_DeInit (RNG_HandleTypeDef *hrng); 250 void HAL_RNG_MspInit(RNG_HandleTypeDef *hrng); 251 void HAL_RNG_MspDeInit(RNG_HandleTypeDef *hrng); 260 uint32_t HAL_RNG_GetRandomNumber(RNG_HandleTypeDef *hrng); /* Obsolete, use HAL_RNG_GenerateRand… 261 uint32_t HAL_RNG_GetRandomNumber_IT(RNG_HandleTypeDef *hrng); /* Obsolete, use HAL_RNG_GenerateRand… 263 HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber(RNG_HandleTypeDef *hrng, uint32_t *random32bit); 264 HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber_IT(RNG_HandleTypeDef *hrng); 265 uint32_t HAL_RNG_ReadLastRandomNumber(RNG_HandleTypeDef *hrng); 267 void HAL_RNG_IRQHandler(RNG_HandleTypeDef *hrng); [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rng.h | 248 HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng); 249 HAL_StatusTypeDef HAL_RNG_DeInit (RNG_HandleTypeDef *hrng); 250 void HAL_RNG_MspInit(RNG_HandleTypeDef *hrng); 251 void HAL_RNG_MspDeInit(RNG_HandleTypeDef *hrng); 260 uint32_t HAL_RNG_GetRandomNumber(RNG_HandleTypeDef *hrng); /* Obsolete, use HAL_RNG_GenerateRand… 261 uint32_t HAL_RNG_GetRandomNumber_IT(RNG_HandleTypeDef *hrng); /* Obsolete, use HAL_RNG_GenerateRand… 263 HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber(RNG_HandleTypeDef *hrng, uint32_t *random32bit); 264 HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber_IT(RNG_HandleTypeDef *hrng); 265 uint32_t HAL_RNG_ReadLastRandomNumber(RNG_HandleTypeDef *hrng); 267 void HAL_RNG_IRQHandler(RNG_HandleTypeDef *hrng); [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/ |
D | stm32l4xx_hal_msp.c | 91 void HAL_RNG_MspInit(RNG_HandleTypeDef* hrng) in HAL_RNG_MspInit() argument 94 if(hrng->Instance==RNG) in HAL_RNG_MspInit() 108 void HAL_RNG_MspDeInit(RNG_HandleTypeDef* hrng) in HAL_RNG_MspDeInit() argument 111 if(hrng->Instance==RNG) in HAL_RNG_MspDeInit()
|
D | main.c | 64 RNG_HandleTypeDef hrng; variable 248 hrng.Instance = RNG; in MX_RNG_Init() 249 if (HAL_RNG_Init(&hrng) != HAL_OK) in MX_RNG_Init()
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/ |
D | stm32l4xx_hal_msp.c | 91 void HAL_RNG_MspInit(RNG_HandleTypeDef* hrng) in HAL_RNG_MspInit() argument 94 if(hrng->Instance==RNG) in HAL_RNG_MspInit() 108 void HAL_RNG_MspDeInit(RNG_HandleTypeDef* hrng) in HAL_RNG_MspDeInit() argument 111 if(hrng->Instance==RNG) in HAL_RNG_MspDeInit()
|
D | main.c | 64 RNG_HandleTypeDef hrng; variable 241 hrng.Instance = RNG; in MX_RNG_Init() 242 if (HAL_RNG_Init(&hrng) != HAL_OK) in MX_RNG_Init()
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/src/ |
D | Entropy.c | 45 extern RNG_HandleTypeDef hrng; 94 if((HAL_RNG_GenerateRandomNumber(&hrng, &random32bit) != HAL_OK) || in _plat__GetEntropy()
|