Searched refs:drv_state (Results 1 – 1 of 1) sorted by relevance
30 static struct nrf_ecb_drv_state drv_state; variable45 if (pkt->in_buf != drv_state.data.cleartext) { in do_ecb_encrypt()46 memcpy(drv_state.data.cleartext, pkt->in_buf, in do_ecb_encrypt()60 if (pkt->out_buf != drv_state.data.ciphertext) { in do_ecb_encrypt()61 memcpy(pkt->out_buf, drv_state.data.ciphertext, in do_ecb_encrypt()72 nrf_ecb_data_pointer_set(NRF_ECB, &drv_state.data); in nrf_ecb_driver_init()73 drv_state.in_use = false; in nrf_ecb_driver_init()106 if (drv_state.in_use) { in nrf_ecb_session_setup()111 drv_state.in_use = true; in nrf_ecb_session_setup()116 if (ctx->key.bit_stream != drv_state.data.key) { in nrf_ecb_session_setup()[all …]