drivers: crypto: Rename cipher file

This file defines the crypto driver API, cipher is supposed to be just
one type of capability (other can be hash) of these drivers, just
change the file name to be consistent with it.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2022-02-11 20:13:11 -08:00 committed by Anas Nashif
parent 0387bced28
commit df3d1f83f7
10 changed files with 12 additions and 12 deletions

View File

@ -10,7 +10,7 @@
#include <device.h>
#include <drivers/i2c.h>
#include <sys/__assert.h>
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include "crypto_ataes132a_priv.h"

View File

@ -12,7 +12,7 @@
#include <kernel.h>
#include <init.h>
#include <errno.h>
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#if !defined(CONFIG_MBEDTLS_CFG_FILE)
#include "mbedtls/config.h"

View File

@ -5,7 +5,7 @@
*/
#include <string.h>
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include <logging/log.h>
#include <hal/nrf_ecb.h>

View File

@ -8,7 +8,7 @@
#include <kernel.h>
#include <device.h>
#include <sys/__assert.h>
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include <drivers/clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h>
#include <sys/byteorder.h>

View File

@ -14,7 +14,7 @@
#include <tinycrypt/constants.h>
#include <tinycrypt/utils.h>
#include <string.h>
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include "crypto_tc_shim_priv.h"
#define LOG_LEVEL CONFIG_CRYPTO_LOG_LEVEL

View File

@ -33,7 +33,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#ifdef CONFIG_IEEE802154_CC2520_CRYPTO
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include <crypto/cipher_structs.h>
#endif /* CONFIG_IEEE802154_CC2520_CRYPTO */

View File

@ -14,8 +14,8 @@
* as a part of ongoing development.
*/
#ifndef ZEPHYR_INCLUDE_CRYPTO_CIPHER_H_
#define ZEPHYR_INCLUDE_CRYPTO_CIPHER_H_
#ifndef ZEPHYR_INCLUDE_CRYPTO_H_
#define ZEPHYR_INCLUDE_CRYPTO_H_
#include <device.h>
#include <errno.h>
@ -311,4 +311,4 @@ static inline int cipher_gcm_op(struct cipher_ctx *ctx,
* @}
*/
#endif /* ZEPHYR_INCLUDE_CRYPTO_CIPHER_H_ */
#endif /* ZEPHYR_INCLUDE_CRYPTO_H_ */

View File

@ -11,7 +11,7 @@
#include <device.h>
#include <zephyr.h>
#include <string.h>
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#define LOG_LEVEL CONFIG_CRYPTO_LOG_LEVEL
#include <logging/log.h>

View File

@ -11,7 +11,7 @@
#include <logging/log.h>
#ifdef CONFIG_OSDP_SC_ENABLED
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include <random/rand32.h>
#endif

View File

@ -8,7 +8,7 @@
LOG_MODULE_REGISTER(net_ieee802154_security,
CONFIG_NET_L2_IEEE802154_LOG_LEVEL);
#include <crypto/cipher.h>
#include <crypto/crypto.h>
#include <net/net_core.h>
#include "ieee802154_frame.h"