Lines Matching refs:pConf

558 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf)  in HAL_CRYP_SetConfig()  argument
561 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_SetConfig()
567 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig()
568 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
569 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig()
580 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
581 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig()
582 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig()
583 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig()
584 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig()
585 hcryp->Init.Header = pConf->Header; in HAL_CRYP_SetConfig()
586 hcryp->Init.HeaderSize = pConf->HeaderSize; in HAL_CRYP_SetConfig()
587 hcryp->Init.B0 = pConf->B0; in HAL_CRYP_SetConfig()
588 hcryp->Init.DataWidthUnit = pConf->DataWidthUnit; in HAL_CRYP_SetConfig()
589 hcryp->Init.KeyIVConfigSkip = pConf->KeyIVConfigSkip; in HAL_CRYP_SetConfig()
590 hcryp->Init.HeaderWidthUnit = pConf->HeaderWidthUnit; in HAL_CRYP_SetConfig()
640 HAL_StatusTypeDef HAL_CRYP_GetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf) in HAL_CRYP_GetConfig() argument
643 if ((hcryp == NULL) || (pConf == NULL)) in HAL_CRYP_GetConfig()
657 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
658 pConf->pKey = hcryp->Init.pKey; in HAL_CRYP_GetConfig()
659 pConf->Algorithm = hcryp->Init.Algorithm; in HAL_CRYP_GetConfig()
660 pConf->KeySize = hcryp->Init.KeySize ; in HAL_CRYP_GetConfig()
661 pConf->pInitVect = hcryp->Init.pInitVect; in HAL_CRYP_GetConfig()
662 pConf->Header = hcryp->Init.Header ; in HAL_CRYP_GetConfig()
663 pConf->HeaderSize = hcryp->Init.HeaderSize; in HAL_CRYP_GetConfig()
664 pConf->B0 = hcryp->Init.B0; in HAL_CRYP_GetConfig()
665 pConf->DataWidthUnit = hcryp->Init.DataWidthUnit; in HAL_CRYP_GetConfig()
666 pConf->KeyIVConfigSkip = hcryp->Init.KeyIVConfigSkip; in HAL_CRYP_GetConfig()
667 pConf->HeaderWidthUnit = hcryp->Init.HeaderWidthUnit; in HAL_CRYP_GetConfig()