Add missing files
This commit is contained in:
parent
43ff9fdac0
commit
f6061fe574
9 changed files with 620 additions and 0 deletions
13
controller/fw/src/tinyaes_adaptor.c
Normal file
13
controller/fw/src/tinyaes_adaptor.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
void *memcpy(void *restrict dest, const void *restrict src, size_t n) {
|
||||
unsigned char *d = dest;
|
||||
const unsigned char *s = src;
|
||||
|
||||
while (n--)
|
||||
*d++ = *s++;
|
||||
|
||||
return dest;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue