mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 03:52:45 -05:00
The encryption/decryption uses a public domain source code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28696 a1c6a512-1295-4272-9138-f99709370657
10 lines
261 B
C
10 lines
261 B
C
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
typedef uint8_t byte;
|
|
|
|
void xor_(byte *a, byte *b, int n);
|
|
void EncryptAES(byte *msg, byte *key, byte *c);
|
|
void DecryptAES(byte *c, byte *key, byte *m);
|
|
void Pretty(byte* b,int len,const char* label);
|