nRF5 SDK v15.0.0
micro_ecc backend

The micro_ecc backend provides functionality to use micro_ecc in nrf_crypto.

Note
All APIs in this backend are intended to be internal to nrf_crypto.

Configuration

See Configuring nrf_crypto frontend and backends for details on enabling this backend.

Available frontend API

See Cryptography library - nrf_crypto for information about which nrf_crypto APIs can use this backend.

Installing micro-ecc

The cryptography library expects to find the compiled micro-ecc library in <InstallFolder>\external\micro-ecc\micro-ecc.

To install micro-ecc, complete the following steps:

  1. Install version 6-2017-q2-update of the GCC compiler toolchain for ARM. You can use ARM's Launchpad to find the toolchain for your operating system.
  2. Make sure that make is installed (see, for example, MinGW, GNU Make, or Xcode).
  3. Clone the micro-ecc GitHub repository into <InstallFolder>\external\micro-ecc\micro-ecc.
  4. Enter the subdirectory for the SoC and the toolchain that you are using to build your application:
    • InstallFolder\external\micro-ecc\nrf52_keil\armgcc
    • InstallFolder\external\micro-ecc\nrf52_iar\armgcc
    • InstallFolder\external\micro-ecc\nrf52_armgcc\armgcc
  5. Run make to compile the micro-ecc library.
Note
If you compile the micro-ecc library without using the provided Makefiles, make sure to use the default compilation options with -Os and optimization level 3. If you change the preprocessor macros (most importantly, uECC_VLI_NATIVE_LITTLE_ENDIAN=1), the library might not work properly.

Documentation feedback | Developer Zone | Subscribe | Updated