From b5ca0cffac1b27fd6662d52a909be7a2199398dc Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Wed, 11 Dec 2013 15:42:25 +0100 Subject: adfuload: utility to upload and exec binary using brom adfu mode of atj213x SoC Change-Id: If52aa34124be2801c2ac316641ff9aa0bbd837c6 --- utils/atj2137/adfuload/encrypt.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 utils/atj2137/adfuload/encrypt.h (limited to 'utils/atj2137/adfuload/encrypt.h') 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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * + * Copyright (C) 2013 by Amaury Pouly + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +int encrypt(unsigned char *data, int length); -- cgit