git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aes: replace deprecated prog_uint* types
[aversive.git]
/
modules
/
crypto
/
aes
/
aes_core.c
diff --git
a/modules/crypto/aes/aes_core.c
b/modules/crypto/aes/aes_core.c
index
d121814
..
c2d3b77
100644
(file)
--- a/
modules/crypto/aes/aes_core.c
+++ b/
modules/crypto/aes/aes_core.c
@@
-42,6
+42,7
@@
# endif
#endif
#include <assert.h>
# endif
#endif
#include <assert.h>
+#include <stdint.h>
#include <aversive.h>
#include "aes_locl.h"
#include <aversive.h>
#include "aes_locl.h"
@@
-70,7
+71,7
@@
Td4[x] = Si[x].[01, 01, 01, 01];
#ifdef USE_PGMMEM
#ifdef USE_PGMMEM
-
prog_
uint32_t Te0_[256] = {
+
__attribute__((progmem)) const
uint32_t Te0_[256] = {
#else
static const uint32_t Te0_[256] = {
#endif
#else
static const uint32_t Te0_[256] = {
#endif
@@
-152,7
+153,7
@@
static inline uint32_t Te0(int i)
#endif
#ifdef USE_PGMMEM
#endif
#ifdef USE_PGMMEM
-
prog_
uint8_t Te4_[256] = {
+
__attribute__((progmem)) const
uint8_t Te4_[256] = {
#else
static const u8 Te4_[256] = {
#endif
#else
static const u8 Te4_[256] = {
#endif
@@
-234,7
+235,7
@@
static inline u8 Te4(int i)
#ifdef USE_PGMMEM
#ifdef USE_PGMMEM
-
prog_
uint32_t Td0_[256] = {
+
__attribute__((progmem)) const
uint32_t Td0_[256] = {
#else
static const uint32_t Td0_[256] = {
#endif
#else
static const uint32_t Td0_[256] = {
#endif
@@
-315,7
+316,7
@@
static inline uint32_t Td0(int i)
#endif
#ifdef USE_PGMMEM
#endif
#ifdef USE_PGMMEM
-
prog_
uint8_t Td4_[256] = {
+
__attribute__((progmem)) const
uint8_t Td4_[256] = {
#else
static const u8 Td4_[256] = {
#endif
#else
static const u8 Td4_[256] = {
#endif