summaryrefslogtreecommitdiff
path: root/utils/atj2137/adfuload/encrypt.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2013-12-11 15:42:25 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2013-12-11 15:42:25 +0100
commitb5ca0cffac1b27fd6662d52a909be7a2199398dc (patch)
tree6f986f33b037ff1e83e5e1dae6bac08504a0aa66 /utils/atj2137/adfuload/encrypt.h
parent01d8cc6f39406932fc971faa3e304692a8ecacf9 (diff)
downloadrockbox-b5ca0cffac1b27fd6662d52a909be7a2199398dc.tar.gz
rockbox-b5ca0cffac1b27fd6662d52a909be7a2199398dc.zip
adfuload: utility to upload and exec binary using brom adfu mode of atj213x SoC
Change-Id: If52aa34124be2801c2ac316641ff9aa0bbd837c6
Diffstat (limited to 'utils/atj2137/adfuload/encrypt.h')
-rw-r--r--utils/atj2137/adfuload/encrypt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/atj2137/adfuload/encrypt.h b/utils/atj2137/adfuload/encrypt.h
new file mode 100644
index 0000000000..ba64c945ef
--- /dev/null
+++ b/utils/atj2137/adfuload/encrypt.h
@@ -0,0 +1,21 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2013 by Amaury Pouly
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
15 *
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
18 *
19 ****************************************************************************/
20
21int encrypt(unsigned char *data, int length);