Lines Matching refs:pConf
373 HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf ) in HAL_CRYP_SetConfig() argument
376 if((hcryp == NULL)|| (pConf == NULL) ) in HAL_CRYP_SetConfig()
382 assert_param(IS_CRYP_KEYSIZE(pConf->KeySize)); in HAL_CRYP_SetConfig()
383 assert_param(IS_CRYP_DATATYPE(pConf->DataType)); in HAL_CRYP_SetConfig()
384 assert_param(IS_CRYP_ALGORITHM(pConf->Algorithm)); in HAL_CRYP_SetConfig()
395 hcryp->Init.DataType = pConf->DataType; in HAL_CRYP_SetConfig()
396 hcryp->Init.pKey = pConf->pKey; in HAL_CRYP_SetConfig()
397 hcryp->Init.Algorithm = pConf->Algorithm; in HAL_CRYP_SetConfig()
398 hcryp->Init.KeySize = pConf->KeySize; in HAL_CRYP_SetConfig()
399 hcryp->Init.pInitVect = pConf->pInitVect; in HAL_CRYP_SetConfig()
437 HAL_StatusTypeDef HAL_CRYP_GetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeDef *pConf ) in HAL_CRYP_GetConfig() argument
440 if((hcryp == NULL)|| (pConf == NULL) ) in HAL_CRYP_GetConfig()
454 pConf->DataType = hcryp->Init.DataType; in HAL_CRYP_GetConfig()
455 pConf->pKey = hcryp->Init.pKey; in HAL_CRYP_GetConfig()
456 pConf->Algorithm = hcryp->Init.Algorithm; in HAL_CRYP_GetConfig()
457 pConf->KeySize = hcryp->Init.KeySize ; in HAL_CRYP_GetConfig()
458 pConf->pInitVect = hcryp->Init.pInitVect; in HAL_CRYP_GetConfig()