Skip to content

cconlon/cyassl-android-ndk

Repository files navigation

CyaSSL Embedded SSL Library Android NDK Package

This is a Android NDK package of the CyaSSL Embedded SSL library, which 
also includes a CTaoCrypt test application.  It should be helpful to Android
developers who are embedding the CyaSSL library into NDK applications.

By default, this package builds the CyaSSL library as a static library,
which is needed in order to be linked to the TestCTaoCrypt application's 
native library (libctctest.so). It should be trivial to build a shared 
CyaSSL library, if need be.

If you would rather cross compile CyaSSL for Android using the NDK
standalone toolchain, please use the cross-compilation script. See below
for details.

===========================================================================
REQUIREMENTS:

Before building or installing this package, you must have the Android SDK
and NDK installed and set up on your system.

===========================================================================
BUILDING:

To build and install this package, run:

android update project -p . -s
ndk-build
ant debug

===========================================================================
INSTALLING:

To install this package in a running Android emulator, run:

ant install

When the example application (TestCTaoCrypt) is run, it first installs
required test certificates on the SD card of the emulator, under the
/certs directory (/sdcard/certs). Make sure your emulator is equipped
with an SD card before running TestCTaoCrypt.

===========================================================================
CROSS COMPILING:

As an alternate to compiling CyaSSL using this Android NDK package, it is
oftentimes easier to cross compile CyaSSL using the standalone Android
NDK toolchain. A script to help with cross-compilation is included in this
package, called "cyassl-android-ndk.sh". For details about using this
script, please see the script comments.

===========================================================================
SUPPORT:

If you have any questions or comments, please contact us at:
support@wolfssl.com

Copyright © 213 wolfSSL Inc.
All rights reserved.

About

A version of the CyaSSL Embedded SSL library built using the Android NDK, with sample CTaoCrypt test application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages