Lines Matching refs:pConf

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()
597 hcryp->Init.Header = pConf->Header; in HAL_CRYP_SetConfig()
598 hcryp->Init.HeaderSize = pConf->HeaderSize; in HAL_CRYP_SetConfig()
599 hcryp->Init.B0 = pConf->B0; in HAL_CRYP_SetConfig()
600 hcryp->Init.DataWidthUnit = pConf->DataWidthUnit; in HAL_CRYP_SetConfig()
601 hcryp->Init.HeaderWidthUnit = pConf->HeaderWidthUnit; in HAL_CRYP_SetConfig()
602 hcryp->Init.KeyIVConfigSkip = pConf->KeyIVConfigSkip; in HAL_CRYP_SetConfig()
643 HAL_StatusTypeDef HAL_CRYP_GetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_GetConfig() argument
646 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_GetConfig()
660 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
661 pConf->pKey = hcryp->Init.pKey; in HAL_CRYP_GetConfig()
662 pConf->Algorithm = hcryp->Init.Algorithm; in HAL_CRYP_GetConfig()
663 pConf->KeySize = hcryp->Init.KeySize ; in HAL_CRYP_GetConfig()
664 pConf->pInitVect = hcryp->Init.pInitVect; in HAL_CRYP_GetConfig()
665 pConf->Header = hcryp->Init.Header ; in HAL_CRYP_GetConfig()
666 pConf->HeaderSize = hcryp->Init.HeaderSize; in HAL_CRYP_GetConfig()
667 pConf->B0 = hcryp->Init.B0; in HAL_CRYP_GetConfig()
668 pConf->DataWidthUnit = hcryp->Init.DataWidthUnit; in HAL_CRYP_GetConfig()
669 pConf->HeaderWidthUnit = hcryp->Init.HeaderWidthUnit; in HAL_CRYP_GetConfig()
670 pConf->KeyIVConfigSkip = hcryp->Init.KeyIVConfigSkip; in HAL_CRYP_GetConfig()