This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cc310 integration guide

Hello !

I have found that AES operations are fastest if cc310 is used directly : examples/crypto/nrf_cc310/aes

Do you have any integration guide for library what use on top of cc310 crypto accelerator ?

Do you need any special memory allocators or all input/output/internal buffers are static and fully visible in example source code ?

I can see enabling of CC310 interrupts are used but all APIs are synchronous and blocked. But can CC310 be used asynchronously  ? 

Can current APIs be called in ISR context ? I need to encrypt/decrypt one 16 byte block and it take 35-40 us only sometimes is really exists some needs for execute

APIs in ISR context. But looks like current library require ISR execution  when cc310 INT occurs.

Even non-interrupt version of lib in use 

nRF5_SDK_17.1.0_ddde560/external/nrf_cc310/lib/cortex-m4/hard-float/no-interrupts/libnrf_cc310_0.9.13.a
Regards,
Eugene
Parents
  • Hi,

    I have found that AES operations are fastest if cc310 is used directly : examples/crypto/nrf_cc310/aes

    Do you have any integration guide for library what use on top of cc310 crypto accelerator ?

    We highly recommend that you use CC310 through the nrf_crypto library, and not with the ARM CC310 library API directly. nrf_crypto implements lots of parameter checks that is not present in cc310 library, so it is more robust against wrong usage. We do not have any other integration guide than the API documentation.

    Do you need any special memory allocators or all input/output/internal buffers are static and fully visible in example source code ?

    See Memory management in nrf_crypto.

    I can see enabling of CC310 interrupts are used but all APIs are synchronous and blocked. But can CC310 be used asynchronously  ?

    You asked this in another ticket. There is no need to ask the same question in multiple threads.

    Best regards,
    Jørgen

Reply
  • Hi,

    I have found that AES operations are fastest if cc310 is used directly : examples/crypto/nrf_cc310/aes

    Do you have any integration guide for library what use on top of cc310 crypto accelerator ?

    We highly recommend that you use CC310 through the nrf_crypto library, and not with the ARM CC310 library API directly. nrf_crypto implements lots of parameter checks that is not present in cc310 library, so it is more robust against wrong usage. We do not have any other integration guide than the API documentation.

    Do you need any special memory allocators or all input/output/internal buffers are static and fully visible in example source code ?

    See Memory management in nrf_crypto.

    I can see enabling of CC310 interrupts are used but all APIs are synchronous and blocked. But can CC310 be used asynchronously  ?

    You asked this in another ticket. There is no need to ask the same question in multiple threads.

    Best regards,
    Jørgen

Children
Related