Re: Using OpenSSL in an Android application

2014-07-20 Thread Amit Agrawal
Compliation instruction for Openssl android is well availabe in wiki.
Please go through it.
Regards,
Amit
On Jul 21, 2014 7:47 AM, Kyle Hamilton aerow...@gmail.com wrote:

 This isn't an android developer support list, but you can gain access to
 the built-in openssl by using the Native Development Kit (NDK).  More
 than that, I don't know.

 -Kyle H

 On 7/20/2014 3:02 PM, Jim Shaver wrote:
  I was wondering if there was a way of getting the functionality of
  s_client on Android, either by utilizing the OpenSSL present on the
  device or linking to a custom compiled version of OpenSSL.  The
  application that I would like to write needs to verify what cipher
  suite is in use during a connection, and from what I have seen the
  built in SSL libraries in Java don't get as granular as s_client.  I
  ran accross http://wiki.openssl.org/index.php/Android on the OpenSSL
  Wiki and while I have successfully cross-compiled for android(readelf
  returns arm as it should) it seems that the section that talks about
  how to call it from an android app is a bit too brief for me to
  understand and a good example of what wrapper.c looks like is not
  given.  This example also doesn't seem to use the Android NDK which
  seems odd to me.  Has anyone seen any good guides about how to utilize
  the manufacturer's implementation of OpenSSL within an app or how to
  integrate it into an app using the NDK?  Anyone have any pointers or
  suggestions?
 
  Thanks!
  Jim
 





Re: OpenSSL 1.0.1h for android ?? Please help.

2014-07-02 Thread Amit Agrawal
As Jeffrey also mentioned, wiki link for android compile is way to go.
config utility takes care of generating required makefie.

Regards,


On Wed, Jul 2, 2014 at 11:45 AM, Abhishek Gupta abhis...@meddiff.com
wrote:

 Hello everyone, Thanks for your timely help.

 I was able to compile openssl 1.0.1e from a github project. It had an
 Android.mk files.

 In case, i wish to update to 1.0.1h, what changes do i need to make to
 android.mk files?


 On Sun, Jun 29, 2014 at 10:22 PM, birajendu sahu biraje...@yahoo.co.in
 wrote:

 Hi Abhishek,

 You can build the openssl using the NDK tool chain and get libcrypto.a file,
 then you need to link that in your master so which will be build from
 android.mk file.

 I will publish the detail steps soon.

 Thanks,
 Birajendu


   On Tuesday, 24 June 2014 12:16 AM, Abhishek Gupta abhis...@meddiff.com
 wrote:


  Hello Users,

 I am at task to compile OpenSSL 1.0.1h for android platform and link it
 with an application.

 Can somebody give some pointers on how to do it. My problem is that there
 are no Android.mk files for this. And how can I user ndk-build here?

 Development env:
 1. Ubuntu 14.04 / 12.04
 2. Android NDK-r9d

 Regards
 Abhishek.






-- 
Regards,
Amit Agrawal