Searched refs:hcryp (Results 1 – 2 of 2) sorted by relevance
78 status = HAL_CRYP_SetConfig(&data->hcryp, &session->config); in do_encrypt()85 status = HAL_CRYP_Encrypt(&data->hcryp, (uint32_t *)in_buf, in_len, in do_encrypt()108 status = HAL_CRYP_SetConfig(&data->hcryp, &session->config); in do_decrypt()115 status = HAL_CRYP_Decrypt(&data->hcryp, (uint32_t *)in_buf, in_len, in do_decrypt()348 if (data->hcryp.State == HAL_CRYP_STATE_RESET) { in crypto_stm32_session_setup()349 if (HAL_CRYP_Init(&data->hcryp) != HAL_OK) { in crypto_stm32_session_setup()444 if (HAL_CRYP_DeInit(&data->hcryp) != HAL_OK) { in crypto_stm32_session_free()481 if (HAL_CRYP_DeInit(&data->hcryp) != HAL_OK) { in crypto_stm32_init()497 .hcryp = {
20 CRYP_HandleTypeDef hcryp; member