Skip to main content

Build and verify Crypto Interface example

DigiCert provides an example Crypto Interface implementation with a runnable executable. You can build and run this example using either NanoCrypto or mbedtls as the underlying cryptographic implementation.

The source code for the examples may be found at:

${MSS_SRC_PKG}/src/crypto_interface/example
  • To build the Crypto Interface example, run the following script (or the equivalent .bat script in a Windows environment):

    ${MSS_SRC_PKG}/scripts/build_cryptointerface_example.sh
  • To instead build with mbedtls supported crypto:

    ${MSS_SRC_PKG}/scripts/build_cryptointerface_example.sh --mbedtls --mbed-path <path to mbed home directory>
  • To run the example, call the following script:

    ${MSS_SRC_PKG}/scripts/run_cryptointerface_example.sh