Lines Matching refs:pConf
304 HAL_StatusTypeDef HAL_HASH_SetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_SetConfig() argument
309 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_SetConfig()
315 assert_param(IS_HASH_DATATYPE(pConf->DataType)); in HAL_HASH_SetConfig()
316 assert_param(IS_HASH_ALGORITHM(pConf->Algorithm)); in HAL_HASH_SetConfig()
325 hhash->Init.DataType = pConf->DataType; in HAL_HASH_SetConfig()
326 hhash->Init.pKey = pConf->pKey; in HAL_HASH_SetConfig()
327 hhash->Init.Algorithm = pConf->Algorithm; in HAL_HASH_SetConfig()
328 hhash->Init.KeySize = pConf->KeySize; in HAL_HASH_SetConfig()
364 HAL_StatusTypeDef HAL_HASH_GetConfig(HASH_HandleTypeDef *hhash, HASH_ConfigTypeDef *pConf) in HAL_HASH_GetConfig() argument
368 if ((hhash == NULL) || (pConf == NULL)) in HAL_HASH_GetConfig()
380 pConf->DataType = hhash->Init.DataType; in HAL_HASH_GetConfig()
381 pConf->pKey = hhash->Init.pKey; in HAL_HASH_GetConfig()
382 pConf->Algorithm = hhash->Init.Algorithm; in HAL_HASH_GetConfig()
383 pConf->KeySize = hhash->Init.KeySize; in HAL_HASH_GetConfig()