Lines Matching refs:pConf

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()
560 hcryp->Init.Header = pConf->Header; in HAL_CRYP_SetConfig()
561 hcryp->Init.HeaderSize = pConf->HeaderSize; in HAL_CRYP_SetConfig()
562 hcryp->Init.B0 = pConf->B0; in HAL_CRYP_SetConfig()
563 hcryp->Init.DataWidthUnit = pConf->DataWidthUnit; in HAL_CRYP_SetConfig()
602 HAL_StatusTypeDef HAL_CRYP_GetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_GetConfig() argument
605 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_GetConfig()
619 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
620 pConf->pKey = hcryp->Init.pKey; in HAL_CRYP_GetConfig()
621 pConf->Algorithm = hcryp->Init.Algorithm; in HAL_CRYP_GetConfig()
622 pConf->KeySize = hcryp->Init.KeySize ; in HAL_CRYP_GetConfig()
623 pConf->pInitVect = hcryp->Init.pInitVect; in HAL_CRYP_GetConfig()
624 pConf->Header = hcryp->Init.Header ; in HAL_CRYP_GetConfig()
625 pConf->HeaderSize = hcryp->Init.HeaderSize; in HAL_CRYP_GetConfig()
626 pConf->B0 = hcryp->Init.B0; in HAL_CRYP_GetConfig()
627 pConf->DataWidthUnit = hcryp->Init.DataWidthUnit; in HAL_CRYP_GetConfig()