1 /* 2 * Copyright (c) 2016 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief tinycrypt driver context info 10 * 11 * The file defines the structure which is used to store per session context 12 * by the driver. Placed in common location so that crypto applications 13 * can allocate memory for the required number of sessions, to free driver 14 * from dynamic memory allocation. 15 */ 16 17 #ifndef ZEPHYR_DRIVERS_CRYPTO_CRYPTO_TC_SHIM_PRIV_H_ 18 #define ZEPHYR_DRIVERS_CRYPTO_CRYPTO_TC_SHIM_PRIV_H_ 19 20 #include <tinycrypt/aes.h> 21 22 struct tc_shim_drv_state { 23 int in_use; 24 struct tc_aes_key_sched_struct session_key; 25 }; 26 27 #endif /* ZEPHYR_DRIVERS_CRYPTO_CRYPTO_TC_SHIM_PRIV_H_ */ 28