1 Reply Latest reply on Jul 3, 2018 6:58 AM by rroy

    [SDK 6.2][43903] Unexpected behavior when trying to use secure pRNG (Fortuna)

    M.Otok_2378511

      Hi all,

      I'm facing the problem of unexpected behavior (mostly system freeze) when trying to initialize secure pRNG (Fortuna) with:

      wiced_crypto_use_secure_prng()
      

       

      Environment:

      1. SDK 6.2.0.72

      2. HW: ISM43903 module

       

      In my case freeze happens when SDK is internally calling:

      wiced_hw_sha256_starts()
      

      Looks like more or less memory leak, but I might be wrong (didn't trace it carefully).

       

      I saw that since SDK 6.1.0.85 introduced (enabled by default) alternative crypto functionalities basing on HW (eg. sha256_alt.c etc.).

      Disabling usage of HW crypto alts fixes described problem:

      GLOBAL_DEFINES += WICED_CONFIG_DONOT_USE_HW_CRYPTO
      

       

       

      Is it possible to use HW crypto functionalities using 43903 platform and SDK 6.2?