Home
last modified time | relevance | path

Searched refs:hhash (Results 1 – 25 of 38) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_hash.c138 static void HASH_GetDigest(const HASH_HandleTypeDef *hhash, const uint8_t *pMsgDigest, uint8_t Size…
139 static void HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *pInBuffer, uint32_t Size);
140 static HAL_StatusTypeDef HASH_WriteData_IT(HASH_HandleTypeDef *hhash);
143 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
187 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
192 if (hhash == NULL) in HAL_HASH_Init()
198 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
199 assert_param(IS_HASH_ALGORITHM(hhash->Init.Algorithm)); in HAL_HASH_Init()
202 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
205 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_hash.c138 static void HASH_GetDigest(const HASH_HandleTypeDef *hhash, const uint8_t *pMsgDigest, uint8_t Size…
139 static void HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *pInBuffer, uint32_t Size);
140 static HAL_StatusTypeDef HASH_WriteData_IT(HASH_HandleTypeDef *hhash);
143 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
187 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
192 if (hhash == NULL) in HAL_HASH_Init()
198 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
199 assert_param(IS_HASH_ALGORITHM(hhash->Init.Algorithm)); in HAL_HASH_Init()
202 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
205 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_hash.c142 static void HASH_GetDigest(const HASH_HandleTypeDef *hhash, const uint8_t *pMsgDigest, uint8_t Size…
143 static void HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *pInBuffer, uint32_t Size);
144 static HAL_StatusTypeDef HASH_WriteData_IT(HASH_HandleTypeDef *hhash);
147 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
191 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
196 if (hhash == NULL) in HAL_HASH_Init()
202 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
203 assert_param(IS_HASH_ALGORITHM(hhash->Init.Algorithm)); in HAL_HASH_Init()
206 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
209 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_hash.c138 static void HASH_GetDigest(const HASH_HandleTypeDef *hhash, const uint8_t *pMsgDigest, uint8_t Size…
139 static void HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *pInBuffer, uint32_t Size);
140 static HAL_StatusTypeDef HASH_WriteData_IT(HASH_HandleTypeDef *hhash);
143 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
187 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
192 if (hhash == NULL) in HAL_HASH_Init()
198 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
199 assert_param(IS_HASH_ALGORITHM(hhash->Init.Algorithm)); in HAL_HASH_Init()
202 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
205 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_hash.c272 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
274 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer, …
275 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
276 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
277 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
320 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
323 if (hhash == NULL) in HAL_HASH_Init()
329 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
332 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
335 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_hash.c276 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
278 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer, …
279 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
280 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
281 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
328 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
331 if (hhash == NULL) in HAL_HASH_Init()
337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
340 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
343 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32u5xx_hal_hash_ex.c151 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer… in HAL_HASHEx_SHA224_Start() argument
154 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
177 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffe… in HAL_HASHEx_SHA224_Accmlt() argument
179 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt()
192 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt_End(HASH_HandleTypeDef *hhash, const uint8_t *const pInB… in HAL_HASHEx_SHA224_Accmlt_End() argument
195 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt_End()
209 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer… in HAL_HASHEx_SHA256_Start() argument
212 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
235 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accmlt(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffe… in HAL_HASHEx_SHA256_Accmlt() argument
237 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accmlt()
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_hash.c234 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
235 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Siz…
236 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
237 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
238 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
285 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
288 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
291 if(hhash == NULL) in HAL_HASH_Init()
297 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
300 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32mp1xx_hal_hash_ex.c143 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA224_Start() argument
145 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
168 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accumulate(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint3… in HAL_HASHEx_SHA224_Accumulate() argument
170 return HASH_Accumulate(hhash, pInBuffer, Size,HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accumulate()
184 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA256_Start() argument
186 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
209 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accumulate(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint3… in HAL_HASHEx_SHA256_Accumulate() argument
211 return HASH_Accumulate(hhash, pInBuffer, Size,HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accumulate()
248 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start_IT(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_… in HAL_HASHEx_SHA224_Start_IT() argument
250 return HASH_Start_IT(hhash, pInBuffer, Size, pOutBuffer,HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_hash.c276 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
278 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer, …
279 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
280 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
281 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
328 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
331 if (hhash == NULL) in HAL_HASH_Init()
337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
340 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
343 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32h7xx_hal_hash_ex.c149 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer… in HAL_HASHEx_SHA224_Start() argument
152 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
175 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffe… in HAL_HASHEx_SHA224_Accmlt() argument
177 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt()
190 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt_End(HASH_HandleTypeDef *hhash, const uint8_t *const pInB… in HAL_HASHEx_SHA224_Accmlt_End() argument
193 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt_End()
207 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffer… in HAL_HASHEx_SHA256_Start() argument
210 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
233 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accmlt(HASH_HandleTypeDef *hhash, const uint8_t *const pInBuffe… in HAL_HASHEx_SHA256_Accmlt() argument
235 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accmlt()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_hash.c276 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
278 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Siz…
279 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
280 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
281 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
328 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
331 if (hhash == NULL) in HAL_HASH_Init()
337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
340 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
343 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32f4xx_hal_hash_ex.c151 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA224_Start() argument
154 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
177 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA224_Accmlt() argument
179 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt()
192 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt_End(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint3… in HAL_HASHEx_SHA224_Accmlt_End() argument
195 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt_End()
209 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA256_Start() argument
212 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
235 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA256_Accmlt() argument
237 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accmlt()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_hash.c276 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
278 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Siz…
279 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
280 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
281 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
328 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
331 if (hhash == NULL) in HAL_HASH_Init()
337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
340 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
343 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32f7xx_hal_hash_ex.c151 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA224_Start() argument
154 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
177 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA224_Accmlt() argument
179 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt()
192 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt_End(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint3… in HAL_HASHEx_SHA224_Accmlt_End() argument
195 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt_End()
209 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA256_Start() argument
212 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
235 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA256_Accmlt() argument
237 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accmlt()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_hash.c276 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
278 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Siz…
279 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
280 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
281 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
328 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
331 if (hhash == NULL) in HAL_HASH_Init()
337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
340 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
343 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32l5xx_hal_hash_ex.c151 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA224_Start() argument
154 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
177 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA224_Accmlt() argument
179 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt()
192 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt_End(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint3… in HAL_HASHEx_SHA224_Accmlt_End() argument
195 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt_End()
209 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA256_Start() argument
212 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
235 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA256_Accmlt() argument
237 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accmlt()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_hash.c276 static HAL_StatusTypeDef HASH_WaitOnFlagUntilTimeout(HASH_HandleTypeDef *hhash, uint32_t Flag, Flag…
278 static HAL_StatusTypeDef HASH_WriteData(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Siz…
279 static HAL_StatusTypeDef HASH_IT(HASH_HandleTypeDef *hhash);
280 static uint32_t HASH_Write_Block_Data(HASH_HandleTypeDef *hhash);
281 static HAL_StatusTypeDef HMAC_Processing(HASH_HandleTypeDef *hhash, uint32_t Timeout);
328 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash) in HAL_HASH_Init() argument
331 if (hhash == NULL) in HAL_HASH_Init()
337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
340 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
343 hhash->Lock = HAL_UNLOCKED; in HAL_HASH_Init()
[all …]
Dstm32l4xx_hal_hash_ex.c151 HAL_StatusTypeDef HAL_HASHEx_SHA224_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA224_Start() argument
154 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Start()
177 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA224_Accmlt() argument
179 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt()
192 HAL_StatusTypeDef HAL_HASHEx_SHA224_Accmlt_End(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint3… in HAL_HASHEx_SHA224_Accmlt_End() argument
195 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA224); in HAL_HASHEx_SHA224_Accmlt_End()
209 HAL_StatusTypeDef HAL_HASHEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t S… in HAL_HASHEx_SHA256_Start() argument
212 return HASH_Start(hhash, pInBuffer, Size, pOutBuffer, Timeout, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Start()
235 HAL_StatusTypeDef HAL_HASHEx_SHA256_Accmlt(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t … in HAL_HASHEx_SHA256_Accmlt() argument
237 return HASH_Accumulate(hhash, pInBuffer, Size, HASH_ALGOSELECTION_SHA256); in HAL_HASHEx_SHA256_Accmlt()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_hal_hash.h157 …void (* InCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH input completion ca…
159 …void (* DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH digest computation …
161 void (* ErrorCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH error callback */
163 …void (* MspInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp Init callback */
165 …void (* MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp DeInit callback…
174 typedef void (*pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash); /*!< pointer to a HASH common c…
412 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash);
413 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash);
414 void HAL_HASH_MspInit(HASH_HandleTypeDef *hhash);
415 void HAL_HASH_MspDeInit(HASH_HandleTypeDef *hhash);
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_hash.h157 …void (* InCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH input completion ca…
159 …void (* DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH digest computation …
161 void (* ErrorCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH error callback */
163 …void (* MspInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp Init callback */
165 …void (* MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp DeInit callback…
174 typedef void (*pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash); /*!< pointer to a HASH common c…
454 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash);
455 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash);
456 void HAL_HASH_MspInit(HASH_HandleTypeDef *hhash);
457 void HAL_HASH_MspDeInit(HASH_HandleTypeDef *hhash);
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_hal_hash.h157 …void (* InCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH input completion ca…
159 …void (* DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH digest computation …
161 void (* ErrorCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH error callback */
163 …void (* MspInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp Init callback */
165 …void (* MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp DeInit callback…
174 typedef void (*pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash); /*!< pointer to a HASH common c…
454 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash);
455 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash);
456 void HAL_HASH_MspInit(HASH_HandleTypeDef *hhash);
457 void HAL_HASH_MspDeInit(HASH_HandleTypeDef *hhash);
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_hash.h157 …void (* InCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH input completion ca…
159 …void (* DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH digest computation …
161 void (* ErrorCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH error callback */
163 …void (* MspInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp Init callback */
165 …void (* MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp DeInit callback…
174 typedef void (*pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash); /*!< pointer to a HASH common c…
454 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash);
455 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash);
456 void HAL_HASH_MspInit(HASH_HandleTypeDef *hhash);
457 void HAL_HASH_MspDeInit(HASH_HandleTypeDef *hhash);
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_hash.h157 …void (* InCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH input completion ca…
159 …void (* DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH digest computation …
161 void (* ErrorCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH error callback */
163 …void (* MspInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp Init callback */
165 …void (* MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp DeInit callback…
174 typedef void (*pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash); /*!< pointer to a HASH common c…
458 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash);
459 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash);
460 void HAL_HASH_MspInit(HASH_HandleTypeDef *hhash);
461 void HAL_HASH_MspDeInit(HASH_HandleTypeDef *hhash);
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_hal_hash.h157 …void (* InCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH input completion ca…
159 …void (* DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH digest computation …
161 void (* ErrorCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH error callback */
163 …void (* MspInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp Init callback */
165 …void (* MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash); /*!< HASH Msp DeInit callback…
174 typedef void (*pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash); /*!< pointer to a HASH common c…
454 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash);
455 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash);
456 void HAL_HASH_MspInit(HASH_HandleTypeDef *hhash);
457 void HAL_HASH_MspDeInit(HASH_HandleTypeDef *hhash);
[all …]

12