Home
last modified time | relevance | path

Searched refs:pConf (Results 1 – 25 of 55) sorted by relevance

123

/hal_stm32-3.6.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_rng_ex.c85 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 …]
Dstm32wbaxx_hal_cryp.c610 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 …]
Dstm32wbaxx_hal_hash.c304 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/
Dstm32h5xx_hal_rng_ex.c85 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 …]
Dstm32h5xx_hal_cryp.c603 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 …]
Dstm32h5xx_hal_hash.c308 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/
Dstm32u5xx_hal_rng_ex.c85 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 …]
Dstm32u5xx_hal_cryp.c603 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/
Dstm32wlxx_hal_rng_ex.c94 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 …]
Dstm32wlxx_hal_cryp.c570 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/
Dstm32h7xx_hal_rng_ex.c98 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 …]
Dstm32h7xx_hal_cryp.c536 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 …]
Dstm32h7xx_hal_jpeg.c1100 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/
Dstm32l5xx_hal_rng_ex.c94 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 …]
Dstm32l5xx_hal_cryp.c568 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/
Dstm32l4xx_hal_rng_ex.c97 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/
Dstm32f2xx_hal_cryp.c373 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/
Dstm32wbxx_hal_cryp.c569 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/
Dstm32g4xx_hal_cryp.c568 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/
Dstm32g0xx_hal_cryp.c568 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/
Dstm32mp1xx_hal_cryp.c533 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/
Dstm32f7xx_hal_cryp.c558 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 …]
Dstm32f7xx_hal_jpeg.c1116 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/
Dstm32f4xx_hal_cryp.c558 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/
Dshci_tl.c74 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()

123