Home
last modified time | relevance | path

Searched refs:DataType (Results 1 – 25 of 73) sorted by relevance

123

/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_cryp_ex.c188 if (hcryp->Init.DataType == CRYP_DATATYPE_1B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
195 else if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
202 else if (hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
209 else if (hcryp->Init.DataType == CRYP_DATATYPE_32B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
260 if (hcryp->Init.DataType == CRYP_DATATYPE_1B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
267 else if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
274 else if (hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
281 else if (hcryp->Init.DataType == CRYP_DATATYPE_32B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
411 if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
421 else if (hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
[all …]
Dstm32f7xx_hal_cryp.c440 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
477 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
482 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
568 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
580 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
600 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
657 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
4010 MODIFY_REG(hcryp->Instance->CR, AES_CR_DATATYPE, hcryp->Init.DataType); in CRYP_AESGCM_Process_IT()
4397 if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in CRYP_AESCCM_Process()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_cryp_ex.c188 if (hcryp->Init.DataType == CRYP_DATATYPE_1B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
195 else if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
202 else if (hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
209 else if (hcryp->Init.DataType == CRYP_DATATYPE_32B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
260 if (hcryp->Init.DataType == CRYP_DATATYPE_1B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
267 else if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
274 else if (hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
281 else if (hcryp->Init.DataType == CRYP_DATATYPE_32B) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
411 if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
421 else if (hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
[all …]
Dstm32f4xx_hal_cryp.c440 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
477 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
482 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
568 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
580 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
600 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
657 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
4016 MODIFY_REG(hcryp->Instance->CR, AES_CR_DATATYPE, hcryp->Init.DataType); in CRYP_AESGCM_Process_IT()
4403 if (hcryp->Init.DataType == CRYP_DATATYPE_8B) in CRYP_AESCCM_Process()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_cryp_ex.c181 if (hcryp->Init.DataType == CRYP_BIT_SWAP) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
188 else if (hcryp->Init.DataType == CRYP_BYTE_SWAP) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
195 else if (hcryp->Init.DataType == CRYP_HALFWORD_SWAP) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
202 else if (hcryp->Init.DataType == CRYP_NO_SWAP) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
346 if (hcryp->Init.DataType == CRYP_BYTE_SWAP) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
356 else if (hcryp->Init.DataType == CRYP_HALFWORD_SWAP) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
366 else if (hcryp->Init.DataType == CRYP_BIT_SWAP) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
Dstm32h7xx_hal_cryp.c424 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
459 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
546 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
558 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
572 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
624 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
3590 if (hcryp->Init.DataType == CRYP_BYTE_SWAP) in CRYP_AESCCM_Process()
3597 else if (hcryp->Init.DataType == CRYP_HALFWORD_SWAP) in CRYP_AESCCM_Process()
3604 else if (hcryp->Init.DataType == CRYP_BIT_SWAP) in CRYP_AESCCM_Process()
3882 if (hcryp->Init.DataType == CRYP_BYTE_SWAP) in CRYP_AESCCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_cryp_ex.c534 …IFY_REG(hcryp->Instance->CR, AES_CR_GCMPH|AES_CR_DATATYPE, CRYP_HEADER_PHASE|hcryp->Init.DataType); in HAL_CRYPEx_AES_Auth()
809 if(hcryp->Init.DataType == CRYP_DATATYPE_1B) in HAL_CRYPEx_AES_Auth()
816 else if(hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AES_Auth()
823 else if(hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AES_Auth()
830 else if(hcryp->Init.DataType == CRYP_DATATYPE_32B) in HAL_CRYPEx_AES_Auth()
953 uint32_t mask_index = hcryp->Init.DataType >> AES_CR_DATATYPE_Pos; in HAL_CRYPEx_AES_Auth_IT()
1081 …IFY_REG(hcryp->Instance->CR, AES_CR_GCMPH|AES_CR_DATATYPE, CRYP_HEADER_PHASE|hcryp->Init.DataType); in HAL_CRYPEx_AES_Auth_IT()
1299 if(hcryp->Init.DataType == CRYP_DATATYPE_1B) in HAL_CRYPEx_AES_Auth_IT()
1306 else if(hcryp->Init.DataType == CRYP_DATATYPE_8B) in HAL_CRYPEx_AES_Auth_IT()
1313 else if(hcryp->Init.DataType == CRYP_DATATYPE_16B) in HAL_CRYPEx_AES_Auth_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_cryp.c454 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
489 cr_value = (uint32_t)(hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
496 …cr_value = (uint32_t)(hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm | hcryp->… in HAL_CRYP_Init()
530 cr_value = (uint32_t)(hcryp->Init.KeyMode | hcryp->Init.DataType | hcryp->Init.KeySize | \ in HAL_CRYP_Init()
620 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
630 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
646 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
652 … hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm | hcryp->Init.KeyMode); in HAL_CRYP_SetConfig()
670 … AES_CR_KEYSEL | AES_CR_KEYPROT | AES_CR_KMOD, hcryp->Init.DataType | hcryp->Init.KeySize | \ in HAL_CRYP_SetConfig()
721 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
[all …]
Dstm32wbaxx_hal_hash.c198 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
231 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_Init()
315 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig()
325 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig()
331 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_SetConfig()
380 pConf->DataType = hhash->Init.DataType; in HAL_HASH_GetConfig()
2496 if (hhash->Init.DataType == HASH_HALFWORD_SWAP) in HASH_WriteData()
2508 else if ((hhash->Init.DataType == HASH_BYTE_SWAP) in HASH_WriteData()
2509 || (hhash->Init.DataType == HASH_BIT_SWAP)) /* byte swap or bit swap or */ in HASH_WriteData()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_cryp.c455 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
491 …cr_value = (uint32_t)(hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm | hcryp->… in HAL_CRYP_Init()
525 cr_value = (uint32_t)(hcryp->Init.KeyMode | hcryp->Init.DataType | hcryp->Init.KeySize | \ in HAL_CRYP_Init()
614 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
624 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
648 … hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm | hcryp->Init.KeyMode); in HAL_CRYP_SetConfig()
679 … AES_CR_KEYSEL | AES_CR_KEYPROT | AES_CR_KMOD, hcryp->Init.DataType | hcryp->Init.KeySize | \ in HAL_CRYP_SetConfig()
729 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
1160 pcont->DataType = (uint32_t)(hcryp->Init.DataType); in HAL_CRYP_SaveContext()
1220 hcryp->Init.DataType = pcont->DataType; in HAL_CRYP_RestoreContext()
[all …]
Dstm32u5xx_hal_hash.c337 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
385 MODIFY_REG(HASH->CR, HASH_CR_DATATYPE, hhash->Init.DataType); in HAL_HASH_Init()
1904 if (hhash->Init.DataType == HASH_DATATYPE_16B) in HASH_WriteData()
1918 else if ((hhash->Init.DataType == HASH_DATATYPE_8B) in HASH_WriteData()
1919 || (hhash->Init.DataType == HASH_DATATYPE_1B)) /* byte swap or bit swap or */ in HASH_WriteData()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_hash.c198 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
231 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_Init()
315 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig()
325 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig()
331 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_SetConfig()
380 pConf->DataType = hhash->Init.DataType; in HAL_HASH_GetConfig()
2543 if (hhash->Init.DataType == HASH_HALFWORD_SWAP) in HASH_WriteData()
2555 else if ((hhash->Init.DataType == HASH_BYTE_SWAP) in HASH_WriteData()
2556 || (hhash->Init.DataType == HASH_BIT_SWAP)) /* byte swap or bit swap or */ in HASH_WriteData()
Dstm32n6xx_hal_cryp.c500 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
539 … hcryp->Init.KeyMode | hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
566 SAES_CONV_DATATYPE(hcryp->Init.DataType) | SAES_CONV_KEYSIZE(hcryp->Init.KeySize) | \ in HAL_CRYP_Init()
692 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
706 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
726 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
742 … SAES_CONV_DATATYPE(hcryp->Init.DataType) | SAES_CONV_KEYSIZE(hcryp->Init.KeySize) | \ in HAL_CRYP_SetConfig()
797 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
4831 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
6040 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_hash.c198 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
231 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_Init()
315 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig()
325 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig()
331 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_SetConfig()
380 pConf->DataType = hhash->Init.DataType; in HAL_HASH_GetConfig()
2543 if (hhash->Init.DataType == HASH_HALFWORD_SWAP) in HASH_WriteData()
2555 else if ((hhash->Init.DataType == HASH_BYTE_SWAP) in HASH_WriteData()
2556 || (hhash->Init.DataType == HASH_BIT_SWAP)) /* byte swap or bit swap or */ in HASH_WriteData()
Dstm32h7rsxx_hal_cryp.c490 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
529 … hcryp->Init.KeyMode | hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
552 … hcryp->Init.KeySelect | hcryp->Init.KeyMode | SAES_CONV_DATATYPE(hcryp->Init.DataType) | \ in HAL_CRYP_Init()
678 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
692 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
711 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
726 … hcryp->Init.KeySelect | hcryp->Init.KeyMode | SAES_CONV_DATATYPE(hcryp->Init.DataType) | \ in HAL_CRYP_SetConfig()
782 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
4812 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
6021 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_hash.c202 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
235 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_Init()
319 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig()
329 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig()
335 cr_value = (uint32_t)(hhash->Init.DataType | hhash->Init.Algorithm); in HAL_HASH_SetConfig()
384 pConf->DataType = hhash->Init.DataType; in HAL_HASH_GetConfig()
2547 if (hhash->Init.DataType == HASH_HALFWORD_SWAP) in HASH_WriteData()
2559 else if ((hhash->Init.DataType == HASH_BYTE_SWAP) in HASH_WriteData()
2560 || (hhash->Init.DataType == HASH_BIT_SWAP)) /* byte swap or bit swap or */ in HASH_WriteData()
Dstm32h5xx_hal_cryp.c455 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
491 …cr_value = (uint32_t)(hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm | hcryp->… in HAL_CRYP_Init()
525 cr_value = (uint32_t)(hcryp->Init.KeyMode | hcryp->Init.DataType | hcryp->Init.KeySize | \ in HAL_CRYP_Init()
614 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
624 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
648 … hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm | hcryp->Init.KeyMode); in HAL_CRYP_SetConfig()
679 … AES_CR_KEYSEL | AES_CR_KEYPROT | AES_CR_KMOD, hcryp->Init.DataType | hcryp->Init.KeySize | \ in HAL_CRYP_SetConfig()
729 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
1160 pcont->DataType = (uint32_t)(hcryp->Init.DataType); in HAL_CRYP_SaveContext()
1220 hcryp->Init.DataType = pcont->DataType; in HAL_CRYP_RestoreContext()
[all …]
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_cryp.c459 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
493 …tance->CR, AES_CR_DATATYPE | AES_CR_KEYSIZE | AES_CR_CHMOD, hcryp->Init.DataType | hcryp->Init.Key… in HAL_CRYP_Init()
580 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
592 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
605 …tance->CR, AES_CR_DATATYPE | AES_CR_KEYSIZE | AES_CR_CHMOD, hcryp->Init.DataType | hcryp->Init.Key… in HAL_CRYP_SetConfig()
660 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
1105 pcont->DataType = (uint32_t)(hcryp->Init.DataType); in HAL_CRYP_SaveContext()
1160 hcryp->Init.DataType = pcont->DataType; in HAL_CRYP_RestoreContext()
2723 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3667 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_cryp.c462 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
497 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
610 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
665 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3519 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
4186 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
4819 tmp &= mask[(hcryp->Init.DataType * 2U) + (size_in_bytes % 4U)]; in CRYP_GCMCCM_SetHeaderPhase()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_cryp.c462 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
497 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
610 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
665 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
2572 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3521 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
4188 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
4821 tmp &= mask[(hcryp->Init.DataType * 2U) + (size_in_bytes % 4U)]; in CRYP_GCMCCM_SetHeaderPhase()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_cryp.c462 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
497 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
610 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
665 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3519 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
4186 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
4819 tmp &= mask[(hcryp->Init.DataType * 2U) + (size_in_bytes % 4U)]; in CRYP_GCMCCM_SetHeaderPhase()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_cryp.c462 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
497 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
610 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
665 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3519 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
4186 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
4819 tmp &= mask[(hcryp->Init.DataType * 2U) + (size_in_bytes % 4U)]; in CRYP_GCMCCM_SetHeaderPhase()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_cryp.c462 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
497 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_Init()
584 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
596 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
610 hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm); in HAL_CRYP_SetConfig()
665 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3519 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
4186 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESCCM_Process_IT()
4819 tmp &= mask[(hcryp->Init.DataType * 2U) + (size_in_bytes % 4U)]; in CRYP_GCMCCM_SetHeaderPhase()
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_cryp.c270 assert_param(IS_CRYP_DATATYPE(hcryp->Init.DataType)); in HAL_CRYP_Init()
303 …nce->CR, CRYP_CR_DATATYPE|CRYP_CR_KEYSIZE|CRYP_CR_ALGOMODE, hcryp->Init.DataType | hcryp->Init.Key… in HAL_CRYP_Init()
383 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
395 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
402 …nce->CR, CRYP_CR_DATATYPE|CRYP_CR_KEYSIZE|CRYP_CR_ALGOMODE, hcryp->Init.DataType | hcryp->Init.Key… in HAL_CRYP_SetConfig()
454 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
Dstm32f2xx_hal_hash.c329 assert_param(IS_HASH_DATATYPE(hhash->Init.DataType)); in HAL_HASH_Init()
377 MODIFY_REG(HASH->CR, HASH_CR_DATATYPE, hhash->Init.DataType); in HAL_HASH_Init()
1858 if (hhash->Init.DataType == HASH_DATATYPE_16B) in HASH_WriteData()
1872 else if ((hhash->Init.DataType == HASH_DATATYPE_8B) in HASH_WriteData()
1873 || (hhash->Init.DataType == HASH_DATATYPE_1B)) /* byte swap or bit swap or */ in HASH_WriteData()

123