Lines Matching refs:pConf
603 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()
628 hcryp->Init.Header = pConf->Header; in HAL_CRYP_SetConfig()
629 hcryp->Init.HeaderSize = pConf->HeaderSize; in HAL_CRYP_SetConfig()
630 hcryp->Init.B0 = pConf->B0; in HAL_CRYP_SetConfig()
631 hcryp->Init.DataWidthUnit = pConf->DataWidthUnit; in HAL_CRYP_SetConfig()
632 hcryp->Init.KeyMode = pConf->KeyMode; in HAL_CRYP_SetConfig()
633 hcryp->Init.HeaderWidthUnit = pConf->HeaderWidthUnit; in HAL_CRYP_SetConfig()
634 hcryp->Init.KeyIVConfigSkip = pConf->KeyIVConfigSkip; in HAL_CRYP_SetConfig()
644 hcryp->Init.KeySelect = pConf->KeySelect; in HAL_CRYP_SetConfig()
645 hcryp->Init.KeyProtection = pConf->KeyProtection; in HAL_CRYP_SetConfig()
693 HAL_StatusTypeDef HAL_CRYP_GetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_GetConfig() argument
696 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_GetConfig()
708 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
709 pConf->pKey = hcryp->Init.pKey; in HAL_CRYP_GetConfig()
710 pConf->Algorithm = hcryp->Init.Algorithm; in HAL_CRYP_GetConfig()
711 pConf->KeySize = hcryp->Init.KeySize; in HAL_CRYP_GetConfig()
712 pConf->pInitVect = hcryp->Init.pInitVect; in HAL_CRYP_GetConfig()
713 pConf->Header = hcryp->Init.Header; in HAL_CRYP_GetConfig()
714 pConf->HeaderSize = hcryp->Init.HeaderSize; in HAL_CRYP_GetConfig()
715 pConf->B0 = hcryp->Init.B0; in HAL_CRYP_GetConfig()
716 pConf->DataWidthUnit = hcryp->Init.DataWidthUnit; in HAL_CRYP_GetConfig()
717 pConf->KeyMode = hcryp->Init.KeyMode; in HAL_CRYP_GetConfig()
718 pConf->KeySelect = hcryp->Init.KeySelect; in HAL_CRYP_GetConfig()
719 pConf->KeyProtection = hcryp->Init.KeyProtection; in HAL_CRYP_GetConfig()
720 pConf->KeyIVConfigSkip = hcryp->Init.KeyIVConfigSkip; in HAL_CRYP_GetConfig()
721 pConf->HeaderWidthUnit = hcryp->Init.HeaderWidthUnit; in HAL_CRYP_GetConfig()