zephyr/drivers/crypto/crypto_tc_shim_priv.h
Flavio Ceolin 67ca176754 headers: Fix headers across the project
Any word started with underscore followed by and uppercase letter or a
second underscore is a reserved word according with C99.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-09-17 15:49:26 -04:00

28 lines
694 B
C

/*
* Copyright (c) 2016 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief tinycrypt driver context info
*
* The file defines the structure which is used to store per session context
* by the driver. Placed in common location so that crypto applications
* can allocate memory for the required number of sessions, to free driver
* from dynamic memory allocation.
*/
#ifndef ZEPHYR_DRIVERS_CRYPTO_CRYPTO_TC_SHIM_PRIV_H_
#define ZEPHYR_DRIVERS_CRYPTO_CRYPTO_TC_SHIM_PRIV_H_
#include <tinycrypt/aes.h>
struct tc_shim_drv_state {
int in_use;
struct tc_aes_key_sched_struct session_key;
};
#endif /* ZEPHYR_DRIVERS_CRYPTO_CRYPTO_TC_SHIM_PRIV_H_ */