/hal_stm32-3.6.0/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_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 …]
|
D | stm32wbaxx_hal_hash.c | 304 HAL_StatusTypeDef HAL_HASH_SetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_SetConfig() argument 309 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_SetConfig() 315 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig() 316 assert_param(IS_HASH_ALGORITHM(pConf->Algorithm)); in HAL_HASH_SetConfig() 325 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig() 326 hhash->Init.pKey = pConf->pKey; in HAL_HASH_SetConfig() 327 hhash->Init.Algorithm = pConf->Algorithm; in HAL_HASH_SetConfig() 328 hhash->Init.KeySize = pConf->KeySize; in HAL_HASH_SetConfig() 364 HAL_StatusTypeDef HAL_HASH_GetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_GetConfig() argument 368 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_GetConfig() [all …]
|
/hal_stm32-3.6.0/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 | 603 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 606 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 612 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 613 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 614 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 623 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 624 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 625 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 626 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 627 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
D | stm32h5xx_hal_hash.c | 308 HAL_StatusTypeDef HAL_HASH_SetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_SetConfig() argument 313 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_SetConfig() 319 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig() 320 assert_param(IS_HASH_ALGORITHM(pConf->Algorithm)); in HAL_HASH_SetConfig() 329 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig() 330 hhash->Init.pKey = pConf->pKey; in HAL_HASH_SetConfig() 331 hhash->Init.Algorithm = pConf->Algorithm; in HAL_HASH_SetConfig() 332 hhash->Init.KeySize = pConf->KeySize; in HAL_HASH_SetConfig() 368 HAL_StatusTypeDef HAL_HASH_GetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_GetConfig() argument 372 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_GetConfig() [all …]
|
/hal_stm32-3.6.0/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 | 603 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 606 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 612 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 613 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 614 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 623 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 624 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 625 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 626 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 627 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
/hal_stm32-3.6.0/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-3.6.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_rng_ex.c | 98 HAL_StatusTypeDef HAL_RNGEx_SetConfig(RNG_HandleTypeDef *hrng, 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 …]
|
D | stm32h7xx_hal_jpeg.c | 1100 HAL_StatusTypeDef HAL_JPEG_ConfigEncoding(JPEG_HandleTypeDef *hjpeg, JPEG_ConfTypeDef *pConf) in HAL_JPEG_ConfigEncoding() argument 1110 if ((hjpeg == NULL) || (pConf == NULL)) in HAL_JPEG_ConfigEncoding() 1117 assert_param(IS_JPEG_COLORSPACE(pConf->ColorSpace)); in HAL_JPEG_ConfigEncoding() 1118 assert_param(IS_JPEG_CHROMASUBSAMPLING(pConf->ChromaSubsampling)); in HAL_JPEG_ConfigEncoding() 1119 assert_param(IS_JPEG_IMAGE_QUALITY(pConf->ImageQuality)); in HAL_JPEG_ConfigEncoding() 1128 hjpeg->Conf.ColorSpace = pConf->ColorSpace; in HAL_JPEG_ConfigEncoding() 1129 hjpeg->Conf.ChromaSubsampling = pConf->ChromaSubsampling; in HAL_JPEG_ConfigEncoding() 1130 hjpeg->Conf.ImageHeight = pConf->ImageHeight; in HAL_JPEG_ConfigEncoding() 1131 hjpeg->Conf.ImageWidth = pConf->ImageWidth; in HAL_JPEG_ConfigEncoding() 1132 hjpeg->Conf.ImageQuality = pConf->ImageQuality; in HAL_JPEG_ConfigEncoding()
|
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_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 | stm32l5xx_hal_cryp.c | 568 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 571 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 577 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 578 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 579 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 590 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 591 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 592 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 593 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 594 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
/hal_stm32-3.6.0/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-3.6.0/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-3.6.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_cryp.c | 569 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 572 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 578 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 579 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 580 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 591 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 592 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 593 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 594 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 595 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_cryp.c | 568 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 571 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 577 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 578 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 579 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 590 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 591 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 592 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 593 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 594 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_cryp.c | 568 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 571 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 577 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 578 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 579 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 590 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 591 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 592 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 593 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 594 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
/hal_stm32-3.6.0/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 …]
|
/hal_stm32-3.6.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_cryp.c | 558 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 561 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 567 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 568 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 569 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 580 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 581 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 582 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 583 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 584 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
D | stm32f7xx_hal_jpeg.c | 1116 HAL_StatusTypeDef HAL_JPEG_ConfigEncoding(JPEG_HandleTypeDef *hjpeg, JPEG_ConfTypeDef *pConf) in HAL_JPEG_ConfigEncoding() argument 1126 if ((hjpeg == NULL) || (pConf == NULL)) in HAL_JPEG_ConfigEncoding() 1133 assert_param(IS_JPEG_COLORSPACE(pConf->ColorSpace)); in HAL_JPEG_ConfigEncoding() 1134 assert_param(IS_JPEG_CHROMASUBSAMPLING(pConf->ChromaSubsampling)); in HAL_JPEG_ConfigEncoding() 1135 assert_param(IS_JPEG_IMAGE_QUALITY(pConf->ImageQuality)); in HAL_JPEG_ConfigEncoding() 1144 hjpeg->Conf.ColorSpace = pConf->ColorSpace; in HAL_JPEG_ConfigEncoding() 1145 hjpeg->Conf.ChromaSubsampling = pConf->ChromaSubsampling; in HAL_JPEG_ConfigEncoding() 1146 hjpeg->Conf.ImageHeight = pConf->ImageHeight; in HAL_JPEG_ConfigEncoding() 1147 hjpeg->Conf.ImageWidth = pConf->ImageWidth; in HAL_JPEG_ConfigEncoding() 1148 hjpeg->Conf.ImageQuality = pConf->ImageQuality; in HAL_JPEG_ConfigEncoding()
|
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_cryp.c | 558 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_SetConfig() argument 561 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig() 567 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig() 568 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig() 569 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig() 580 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig() 581 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig() 582 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig() 583 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig() 584 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig() [all …]
|
/hal_stm32-3.6.0/lib/stm32wb/hci/ |
D | shci_tl.c | 74 void shci_init(void(* UserEvtRx)(void* pData), void* pConf) in shci_init() argument 76 StatusNotCallBackFunction = ((SHCI_TL_HciInitConf_t *)pConf)->StatusNotCallBack; in shci_init() 81 TlInit((TL_CmdPacket_t *)(((SHCI_TL_HciInitConf_t *)pConf)->p_cmdbuffer)); in shci_init()
|