zephyr/drivers/crypto/crypto_tc_shim_priv.h
Tomasz Bursztyka 5296cd2060 drivers/crypto: Prefix source code relevantly
As everywhere else in drivers, domain of driver should be used as name
prefix.

Change-Id: I1bb2284495c7a6b2648395b757a5f912e4410b15
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-04-27 13:06:31 +00:00

29 lines
636 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 __TC_SHIM_PRIV_H__
#define __TC_SHIM_PRIV_H__
#include <tinycrypt/aes.h>
struct tc_shim_drv_state {
int in_use;
// int session_key;
struct tc_aes_key_sched_struct session_key;
};
#endif /* __TC_SHIM_PRIV_H__ */