Lines Matching refs:pConf
306 HAL_StatusTypeDef HAL_HASH_SetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_SetConfig() argument
311 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_SetConfig()
317 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig()
318 assert_param(IS_HASH_ALGORITHM(pConf->Algorithm)); in HAL_HASH_SetConfig()
327 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig()
328 hhash->Init.pKey = pConf->pKey; in HAL_HASH_SetConfig()
329 hhash->Init.Algorithm = pConf->Algorithm; in HAL_HASH_SetConfig()
330 hhash->Init.KeySize = pConf->KeySize; in HAL_HASH_SetConfig()
366 HAL_StatusTypeDef HAL_HASH_GetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_GetConfig() argument
370 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_GetConfig()
382 pConf->DataType = hhash->Init.DataType; in HAL_HASH_GetConfig()
383 pConf->pKey = hhash->Init.pKey; in HAL_HASH_GetConfig()
384 pConf->Algorithm = hhash->Init.Algorithm; in HAL_HASH_GetConfig()
385 pConf->KeySize = hhash->Init.KeySize; in HAL_HASH_GetConfig()