Return-Path: Received: from mail.ramses-pyramidenbau.de (ramses-pyramidenbau.de [IPv6:2a03:4000:6:8069::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sun, 24 Jan 2016 17:40:44 +0100 (CET) References: <201601241855521733022@sjtu.edu.cn> From: Ralf Ramsauer Message-ID: <56A4FCB7.20701@ramses-pyramidenbau.de> Date: Sun, 24 Jan 2016 17:32:55 +0100 MIME-Version: 1.0 In-Reply-To: <201601241855521733022@sjtu.edu.cn> Content-Type: multipart/alternative; boundary="------------010408000800030100090803" Subject: Re: [dm-crypt] Cross-compile cryptsetup on Android List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "shengdexinqing@sjtu.edu.cn" , dm-crypt This is a multi-part message in MIME format. --------------010408000800030100090803 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Wait a minute, hang on. First of all, Android may run on several architectures, 'some binary' will not necessarily run on your device. Second, if you're doing research on computer security, I strongly recommend to compile it on your own and not just to execute some foreign binary. As a side effect, you will understand how things internally work.= Third and most important and please someone correct me if i'm wrong here: AFAIR Android uses its own homemade androidish libc for system calls with invasive changes (for some licensing reasons, afair). Because of this, it might get hard to get cryptsetup running on android. Cheers Ralf On 01/24/16 11:55, shengdexinqing@sjtu.edu.cn wrote: > Hi. > I want to compile cryptsetup on Android,but there are a lot questions > on cross-compile.Do you have any Android version bin?Please send me > one.Thank you a lot > > -----------------------------------------------------------------------= - > =E5=BC=A0=E6=9C=88=E8=A1=A1=EF=BC=8CYueheng Zhang=20 > Email: shengdexinqing@sjtu.edu.cn > Laboratory of Cryptology and Computer Security(LoCCS)=20 > Web address: http://loccs.sjtu.edu.cn > Department of Information Security Engineering, Shanghai Jiao Tong Univ= ersity > No. 800, Dong Chuan Road, Min Hang District, Shanghai, 200240, China > > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt --=20 Ralf Ramsauer GPG: 0x8F10049B --------------010408000800030100090803 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit Wait a minute, hang on.

First of all, Android may run on several architectures, 'some binary' will not necessarily run on your device.
Second, if you're doing research on computer security, I strongly recommend to compile it on your own and not just to execute some foreign binary. As a side effect, you will understand how things internally work.

Third and most important and please someone correct me if i'm wrong here: AFAIR Android uses its own homemade androidish libc for system calls with invasive changes (for some licensing reasons, afair). Because of this, it might get hard to get cryptsetup running on android.

Cheers
  Ralf

On 01/24/16 11:55, shengdexinqing@sjtu.edu.cn wrote:
Hi.
I want to compile cryptsetup on Android,but there are a lot questions on cross-compile.Do you have any Android version bin?Please send me one.Thank you a lot


张月衡,Yueheng Zhang 
Email: shengdexinqing@sjtu.edu.cn
Laboratory of Cryptology and Computer Security(LoCCS) 
Web address: http://loccs.sjtu.edu.cn
Department of Information Security Engineering, Shanghai Jiao Tong University
No. 800, Dong Chuan Road, Min Hang District, Shanghai, 200240, China


_______________________________________________
dm-crypt mailing list
dm-crypt@saout.de
http://www.saout.de/mailman/listinfo/dm-crypt

-- 
Ralf Ramsauer
GPG: 0x8F10049B
--------------010408000800030100090803--