| /hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/ |
| D | stm32u5xx_hal_rng_ex.c | 85 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 92 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 99 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 100 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 101 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 102 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 103 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 104 assert_param(IS_RNG_ARDIS(pConf->AutoReset)); in HAL_RNGEx_SetConfig() 120 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance | pConf->AutoReset in HAL_RNGEx_SetConfig() 121 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32u5xx_hal_cryp.c | 604 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 607 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 613 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 614 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 615 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 624 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 625 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 626 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 627 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 628 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/ |
| D | stm32u0xx_hal_rng_ex.c | 85 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 92 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 99 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 100 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 101 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 102 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 103 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 104 assert_param(IS_RNG_ARDIS(pConf->AutoReset)); in HAL_RNGEx_SetConfig() 120 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance | pConf->AutoReset in HAL_RNGEx_SetConfig() 121 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32u0xx_hal_cryp.c | 574 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 577 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 583 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 585 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 597 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 598 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 599 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 600 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
| D | stm32n6xx_hal_rng_ex.c | 85 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 92 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 99 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 100 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 101 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 102 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 103 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 104 assert_param(IS_RNG_ARDIS(pConf->AutoReset)); in HAL_RNGEx_SetConfig() 120 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance | pConf->AutoReset in HAL_RNGEx_SetConfig() 121 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32n6xx_hal_cryp.c | 660 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 663 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 673 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 674 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 675 assert_param(IS_CRYP_KEYMODE(pConf->KeyMode)); in HAL_CRYP_SetConfig() 676 if (pConf->HeaderWidthUnit == CRYP_HEADERWIDTHUNIT_BYTE) in HAL_CRYP_SetConfig() 685 assert_param(IS_SAES_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 686 assert_param(IS_SAES_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 687 assert_param(IS_SAES_KEYMODE(pConf->KeyMode)); in HAL_CRYP_SetConfig() 689 assert_param(IS_SAES_KEYSEL(pConf->KeySelect)); in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/ |
| D | stm32h5xx_hal_rng_ex.c | 85 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 92 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 99 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 100 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 101 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 102 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 103 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 104 assert_param(IS_RNG_ARDIS(pConf->AutoReset)); in HAL_RNGEx_SetConfig() 120 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance | pConf->AutoReset in HAL_RNGEx_SetConfig() 121 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32h5xx_hal_cryp.c | 604 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 607 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 613 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 614 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 615 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 624 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 625 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 626 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 627 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 628 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/ |
| D | stm32wbaxx_hal_rng_ex.c | 85 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 92 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 99 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 100 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 101 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 102 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 103 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 104 assert_param(IS_RNG_ARDIS(pConf->AutoReset)); in HAL_RNGEx_SetConfig() 120 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance | pConf->AutoReset in HAL_RNGEx_SetConfig() 121 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32wbaxx_hal_rcc_ex.c | 1415 HAL_StatusTypeDef HAL_RCCEx_SetConfigAudioSync(const RCC_AudioSyncConfigTypeDef *pConf) in HAL_RCCEx_SetConfigAudioSync() argument 1418 assert_param(pConf != (void *)NULL); in HAL_RCCEx_SetConfigAudioSync() 1419 assert_param(IS_RCC_AUDIOSYNC_CAPTUREPRESCALER(pConf->CapturePrescaler)); in HAL_RCCEx_SetConfigAudioSync() 1420 assert_param(IS_RCC_AUDIOSYNC_CLOCKPRESCALER(pConf->ClockPrescaler)); in HAL_RCCEx_SetConfigAudioSync() 1421 assert_param(IS_RCC_AUDIOSYNC_AUTORELOAD(pConf->AutoReloadValue)); in HAL_RCCEx_SetConfigAudioSync() 1422 assert_param(IS_RCC_AUDIOSYNC_COMPARE(pConf->CompareValue)); in HAL_RCCEx_SetConfigAudioSync() 1425 RCC->ASCR = (((pConf->CapturePrescaler) << RCC_ASCR_CPS_Pos) & \ in HAL_RCCEx_SetConfigAudioSync() 1426 ((pConf->ClockPrescaler) << RCC_ASCR_PSC_Pos)); in HAL_RCCEx_SetConfigAudioSync() 1429 RCC->ASARR = ((pConf->AutoReloadValue) << RCC_ASARR_AR_Pos); in HAL_RCCEx_SetConfigAudioSync() 1432 RCC->ASCOR = ((pConf->CompareValue) << RCC_ASCOR_CO_Pos); in HAL_RCCEx_SetConfigAudioSync() [all …]
|
| D | stm32wbaxx_hal_cryp.c | 610 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 613 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 619 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 620 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 621 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 630 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 631 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 632 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 633 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 634 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
| D | stm32h7rsxx_hal_rng_ex.c | 85 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 92 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 99 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 100 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 101 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 102 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 103 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 104 assert_param(IS_RNG_ARDIS(pConf->AutoReset)); in HAL_RNGEx_SetConfig() 120 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance | pConf->AutoReset in HAL_RNGEx_SetConfig() 121 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32h7rsxx_hal_cryp.c | 647 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 650 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 660 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 661 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 662 assert_param(IS_CRYP_KEYMODE(pConf->KeyMode)); in HAL_CRYP_SetConfig() 663 if (pConf->HeaderWidthUnit == CRYP_HEADERWIDTHUNIT_BYTE) in HAL_CRYP_SetConfig() 672 assert_param(IS_SAES_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 673 assert_param(IS_SAES_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 674 assert_param(IS_SAES_KEYMODE(pConf->KeyMode)); in HAL_CRYP_SetConfig() 675 assert_param(IS_SAES_KEYSEL(pConf->KeySelect)); in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/ |
| D | stm32wlxx_hal_rng_ex.c | 94 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 101 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 108 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 109 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 110 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 111 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 112 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 128 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance in HAL_RNGEx_SetConfig() 129 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() 130 | (pConf->Config2 << RNG_CR_RNG_CONFIG2_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32wlxx_hal_cryp.c | 570 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 573 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 579 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 580 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 581 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 592 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 593 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 594 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 595 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 596 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
| D | stm32l5xx_hal_rng_ex.c | 94 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 101 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 108 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 109 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 110 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 111 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 112 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 128 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance in HAL_RNGEx_SetConfig() 129 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() 130 | (pConf->Config2 << RNG_CR_RNG_CONFIG2_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32l5xx_hal_cryp.c | 574 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 577 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 583 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 585 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 597 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 598 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 599 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 600 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
| D | stm32l4xx_hal_rng_ex.c | 97 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 104 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 111 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 112 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 113 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 114 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 115 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 131 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance in HAL_RNGEx_SetConfig() 132 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() 133 | (pConf->Config2 << RNG_CR_RNG_CONFIG2_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
| D | stm32h7xx_hal_rng_ex.c | 98 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, const RNG_ConfigTypeDef *pConf) in HAL_RNGEx_SetConfig() argument 105 if ((hrng == NULL) || (pConf == NULL)) in HAL_RNGEx_SetConfig() 112 assert_param(IS_RNG_CLOCK_DIVIDER(pConf->ClockDivider)); in HAL_RNGEx_SetConfig() 113 assert_param(IS_RNG_NIST_COMPLIANCE(pConf->NistCompliance)); in HAL_RNGEx_SetConfig() 114 assert_param(IS_RNG_CONFIG1(pConf->Config1)); in HAL_RNGEx_SetConfig() 115 assert_param(IS_RNG_CONFIG2(pConf->Config2)); in HAL_RNGEx_SetConfig() 116 assert_param(IS_RNG_CONFIG3(pConf->Config3)); in HAL_RNGEx_SetConfig() 132 cr_value = (uint32_t)(pConf->ClockDivider | pConf->NistCompliance in HAL_RNGEx_SetConfig() 133 | (pConf->Config1 << RNG_CR_RNG_CONFIG1_Pos) in HAL_RNGEx_SetConfig() 134 | (pConf->Config2 << RNG_CR_RNG_CONFIG2_Pos) in HAL_RNGEx_SetConfig() [all …]
|
| D | stm32h7xx_hal_cryp.c | 536 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 539 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 545 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 546 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 547 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 558 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 559 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 560 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 561 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 562 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
| D | stm32f2xx_hal_cryp.c | 373 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf ) in HAL_CRYP_SetConfig() argument 376 if((hcryp == NULL)|| (pConf == NULL) ) in HAL_CRYP_SetConfig() 382 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 383 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 384 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 395 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 396 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 397 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 398 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 399 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/ |
| D | stm32g0xx_hal_cryp.c | 574 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 577 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 583 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 585 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 597 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 598 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 599 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 600 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/ |
| D | stm32wbxx_hal_cryp.c | 574 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 577 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 583 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 585 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 597 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 598 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 599 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 600 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/ |
| D | stm32g4xx_hal_cryp.c | 574 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 577 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 583 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 585 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 597 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 598 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 599 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 600 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
| /hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/ |
| D | stm32mp1xx_hal_cryp.c | 533 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 536 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 542 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 543 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 544 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 555 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 556 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 557 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 558 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 559 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|