ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_aes.h
Go to the documentation of this file.
1
#ifndef RUUVI_INTERFACE_AES_H
2
#define RUUVI_INTERFACE_AES_H
3
22
#include <stddef.h>
23
#include "
ruuvi_driver_error.h
"
24
#include "
ruuvi_driver_enabled_modules.h
"
25
26
#if RI_AES_ENABLED
27
# define RUUVI_NRF5_SDK15_AES_ENABLED RUUVI_NRF5_SDK15_ENABLED
28
#endif
29
44
rd_status_t
ri_aes_ecb_128_encrypt
(
const
uint8_t *
const
cleartext,
45
uint8_t *
const
ciphertext,
46
const
uint8_t *
const
key,
47
const
size_t
data_length);
48
50
#endif
// RUUVI_INTERFACE_AES_H
ri_aes_ecb_128_encrypt
rd_status_t ri_aes_ecb_128_encrypt(const uint8_t *const cleartext, uint8_t *const ciphertext, const uint8_t *const key, const size_t data_length)
encrypt a block with AES ECB 128 encryption
rd_status_t
uint32_t rd_status_t
bitfield for representing errors
Definition:
ruuvi_driver_error.h:54
ruuvi_driver_enabled_modules.h
Header to enable and disable module compilation.
ruuvi_driver_error.h
Ruuvi error codes and error check function.
src
interfaces
crypto
ruuvi_interface_aes.h
Generated by
1.9.1