projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show mag sensor SPI ID
[fw/altos]
/
src
/
aes
/
ao_aes.c
diff --git
a/src/aes/ao_aes.c
b/src/aes/ao_aes.c
index fd90c5bf3ee03fa0c3435db43e5a4d3fea043b31..0bc8188e3d2ae68c7eca2b78a214b473ce34b712 100644
(file)
--- a/
src/aes/ao_aes.c
+++ b/
src/aes/ao_aes.c
@@
-372,7
+372,7
@@
ao_aes_set_mode(enum ao_aes_mode mode)
}
void
}
void
-ao_aes_set_key(
__xdata
uint8_t *in)
+ao_aes_set_key(uint8_t *in)
{
memcpy(key, in, 16);
xrijndaelKeySched((word32 *) key, 128, 128, &rkk);
{
memcpy(key, in, 16);
xrijndaelKeySched((word32 *) key, 128, 128, &rkk);
@@
-385,8
+385,8
@@
ao_aes_zero_iv(void)
}
void
}
void
-ao_aes_run(
__xdata
uint8_t *in,
-
__xdata
uint8_t *out)
+ao_aes_run(uint8_t *in,
+ uint8_t *out)
{
uint8_t i;
uint8_t *_iv = (uint8_t *) iv;
{
uint8_t i;
uint8_t *_iv = (uint8_t *) iv;