Lines Matching refs:pConf
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()
635 hcryp->Init.Header = pConf->Header; in HAL_CRYP_SetConfig()
636 hcryp->Init.HeaderSize = pConf->HeaderSize; in HAL_CRYP_SetConfig()
637 hcryp->Init.B0 = pConf->B0; in HAL_CRYP_SetConfig()
638 hcryp->Init.DataWidthUnit = pConf->DataWidthUnit; in HAL_CRYP_SetConfig()
639 hcryp->Init.KeyMode = pConf->KeyMode; in HAL_CRYP_SetConfig()
640 hcryp->Init.HeaderWidthUnit = pConf->HeaderWidthUnit; in HAL_CRYP_SetConfig()
641 hcryp->Init.KeyIVConfigSkip = pConf->KeyIVConfigSkip; in HAL_CRYP_SetConfig()
656 hcryp->Init.KeySelect = pConf->KeySelect; in HAL_CRYP_SetConfig()
657 hcryp->Init.KeyProtection = pConf->KeyProtection; in HAL_CRYP_SetConfig()
706 HAL_StatusTypeDef HAL_CRYP_GetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_GetConfig() argument
709 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_GetConfig()
721 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
722 pConf->pKey = hcryp->Init.pKey; in HAL_CRYP_GetConfig()
723 pConf->Algorithm = hcryp->Init.Algorithm; in HAL_CRYP_GetConfig()
724 pConf->KeySize = hcryp->Init.KeySize; in HAL_CRYP_GetConfig()
725 pConf->pInitVect = hcryp->Init.pInitVect; in HAL_CRYP_GetConfig()
726 pConf->Header = hcryp->Init.Header; in HAL_CRYP_GetConfig()
727 pConf->HeaderSize = hcryp->Init.HeaderSize; in HAL_CRYP_GetConfig()
728 pConf->B0 = hcryp->Init.B0; in HAL_CRYP_GetConfig()
729 pConf->DataWidthUnit = hcryp->Init.DataWidthUnit; in HAL_CRYP_GetConfig()
730 pConf->KeyMode = hcryp->Init.KeyMode; in HAL_CRYP_GetConfig()
731 pConf->KeySelect = hcryp->Init.KeySelect; in HAL_CRYP_GetConfig()
732 pConf->KeyProtection = hcryp->Init.KeyProtection; in HAL_CRYP_GetConfig()
733 pConf->KeyIVConfigSkip = hcryp->Init.KeyIVConfigSkip; in HAL_CRYP_GetConfig()
734 pConf->HeaderWidthUnit = hcryp->Init.HeaderWidthUnit; in HAL_CRYP_GetConfig()