Home
last modified time | relevance | path

Searched refs:Phase (Results 1 – 12 of 12) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_hash.c352 hhash->Phase = HAL_HASH_PHASE_READY; in HAL_HASH_Init()
388 hhash->Phase = HAL_HASH_PHASE_READY; in HAL_HASH_DeInit()
1523 if (hhash->Phase == HAL_HASH_PHASE_HMAC_STEP_3) in HASH_DMAXferCplt()
1541 else if (hhash->Phase == HAL_HASH_PHASE_HMAC_STEP_1) in HASH_DMAXferCplt()
1545 hhash->Phase = HAL_HASH_PHASE_HMAC_STEP_2; /* Move phase from Step 1 to Step 2 */ in HASH_DMAXferCplt()
1583 hhash->Phase = HAL_HASH_PHASE_HMAC_STEP_3; /* Move phase from Step 2 to Step 3 */ in HASH_DMAXferCplt()
1686 … if ((hhash->Phase == HAL_HASH_PHASE_PROCESS) || (hhash->Phase == HAL_HASH_PHASE_HMAC_STEP_2)) in HASH_WriteData()
1693 …else if ((hhash->Phase == HAL_HASH_PHASE_HMAC_STEP_1) || (hhash->Phase == HAL_HASH_PHASE_HMAC_STEP… in HASH_WriteData()
1942 if (hhash->Phase == HAL_HASH_PHASE_HMAC_STEP_1) in HASH_IT()
1952 hhash->Phase = HAL_HASH_PHASE_HMAC_STEP_2; /* Move phase from Step 1 to Step 2 */ in HASH_IT()
[all …]
Dstm32l4xx_hal_cryp_ex.c541 hcryp->Phase = HAL_CRYP_PHASE_INIT_OVER; in HAL_CRYPEx_AES_Auth()
603 hcryp->Phase = HAL_CRYP_PHASE_HEADER_SUSPENDED; in HAL_CRYPEx_AES_Auth()
661 hcryp->Phase = HAL_CRYP_PHASE_HEADER_SUSPENDED; in HAL_CRYPEx_AES_Auth()
683 hcryp->Phase = HAL_CRYP_PHASE_HEADER_OVER; in HAL_CRYPEx_AES_Auth()
694 if (hcryp->Phase == HAL_CRYP_PHASE_INIT_OVER) in HAL_CRYPEx_AES_Auth()
771 hcryp->Phase = HAL_CRYP_PHASE_HEADER_SUSPENDED; in HAL_CRYPEx_AES_Auth()
799 hcryp->Phase = HAL_CRYP_PHASE_PAYLOAD_OVER; in HAL_CRYPEx_AES_Auth()
816 if (hcryp->Phase == HAL_CRYP_PHASE_INIT_OVER) in HAL_CRYPEx_AES_Auth()
909 hcryp->Phase = HAL_CRYP_PHASE_FINAL_OVER; in HAL_CRYPEx_AES_Auth()
1116 hcryp->Phase = HAL_CRYP_PHASE_HEADER_OVER; in HAL_CRYPEx_AES_Auth_IT()
[all …]
Dstm32l4xx_hal_cryp.c357 hcryp->Phase = HAL_CRYP_PHASE_NOT_USED; in HAL_CRYP_Init()
404 hcryp->Phase = HAL_CRYP_PHASE_START; in HAL_CRYP_Init()
470 hcryp->Phase = HAL_CRYP_PHASE_READY; in HAL_CRYP_DeInit()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_cryp.c217 hcryp->Phase = HAL_CRYP_PHASE_READY; in HAL_CRYP_Init()
251 hcryp->Phase = HAL_CRYP_PHASE_READY; in HAL_CRYP_DeInit()
359 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESECB_Encrypt()
374 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESECB_Encrypt()
435 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESCBC_Encrypt()
453 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESCBC_Encrypt()
514 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESCTR_Encrypt()
532 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESCTR_Encrypt()
593 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESECB_Decrypt()
608 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESECB_Decrypt()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_cryp.c216 hcryp->Phase = HAL_CRYP_PHASE_READY; in HAL_CRYP_Init()
250 hcryp->Phase = HAL_CRYP_PHASE_READY; in HAL_CRYP_DeInit()
358 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESECB_Encrypt()
373 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESECB_Encrypt()
434 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESCBC_Encrypt()
452 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESCBC_Encrypt()
513 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESCTR_Encrypt()
531 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESCTR_Encrypt()
592 if(hcryp->Phase == HAL_CRYP_PHASE_READY) in HAL_CRYP_AESECB_Decrypt()
607 hcryp->Phase = HAL_CRYP_PHASE_PROCESS; in HAL_CRYP_AESECB_Decrypt()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_hash.h151 HAL_HASH_PhaseTypeDef Phase; /*!< HASH peripheral phase */ member
453 #define IS_HASH_PROCESSING(__HANDLE__) ((__HANDLE__)->Phase == HAL_HASH_PHASE_PROCESS)
460 #define IS_HMAC_PROCESSING(__HANDLE__) (((__HANDLE__)->Phase == HAL_HASH_PHASE_HMAC_STEP_1) || \
461 ((__HANDLE__)->Phase == HAL_HASH_PHASE_HMAC_STEP_2) || \
462 ((__HANDLE__)->Phase == HAL_HASH_PHASE_HMAC_STEP_3))
Dstm32l4xx_hal_cryp.h185 …HAL_PhaseTypeDef Phase; /*!< CRYP peripheral processing phase for GCM, GMAC, CM… member
Dstm32l4xx_ll_usart.h1298 __STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity,… in LL_USART_ConfigClock() argument
1300 …MODIFY_REG(USARTx->CR2, USART_CR2_CPHA | USART_CR2_CPOL | USART_CR2_LBCL, Phase | Polarity | LBCPO… in LL_USART_ConfigClock()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_cryp.h119 HAL_PhaseTypeDef Phase; /*!< CRYP peripheral phase */ member
Dstm32l1xx_ll_usart.h755 __STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity,… in LL_USART_ConfigClock() argument
757 …MODIFY_REG(USARTx->CR2, USART_CR2_CPHA | USART_CR2_CPOL | USART_CR2_LBCL, Phase | Polarity | LBCPO… in LL_USART_ConfigClock()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_cryp.h119 HAL_PhaseTypeDef Phase; /*!< CRYP peripheral phase */ member
Dstm32l0xx_ll_usart.h974 __STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity,… in LL_USART_ConfigClock() argument
976 …MODIFY_REG(USARTx->CR2, USART_CR2_CPHA | USART_CR2_CPOL | USART_CR2_LBCL, Phase | Polarity | LBCPO… in LL_USART_ConfigClock()