Mirror of Apache Milagro MFA TLS Incubator
C Shell C++ Makefile Perl CMake
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
doxygen
include
library
programs
scripts
tests
visualc/VS2010
yotta
CMakeLists.txt
ChangeLog
DartConfiguration.tcl
LICENSE
Makefile
README.md
apache-2.0.txt
mbedTLS.md

README.md

README for mbed TLS with MILAGRO

note: The original mbed TLS build instructions are in the file mbedTLS.md

Milagro TLS has only been built and tested on Linux and Mac with the GCC tool chain.

First install the mpin-crypto library and then the mbed TLS library.

CMake is required to build the library and can usually be installed from the operating system package manager.

  • sudo apt-get install cmake

If not, then you can download it from www.cmake.org

Compiling mpin-crypto

  1. git clone https://github.com/miracl/milagro-crypto
  2. cd milagro-crypto
  3. mkdir release
  4. cd release
  5. cmake -D CMAKE_INSTALL_PREFIX=/opt/amcl -D USE_ANONYMOUS=on -D WORD_LENGTH=64 -D BUILD_WCC=on -D BUILD_MPIN=on ..
  6. make
  7. make test
  8. sudo make install

Compiling mbed TLS

  1. git clone https://github.com/miracl/milagro-tls
  2. cd milagro-tls
  3. mkdir release
  4. cd release
  5. cmake -D AMCL_INSTALL_DIR=/opt/amcl ..
  6. make
  7. make test
  8. sudo make install