Dear friend,
How much RAM does ECB encryption consume?
Currently implemented using a third-party AES library (consumes 2.3k of RAM).
Is there a way to encrypt that consumes less RAM?
Dear friend,
How much RAM does ECB encryption consume?
Currently implemented using a third-party AES library (consumes 2.3k of RAM).
Is there a way to encrypt that consumes less RAM?
Hi Charlie,
Sorry, I made a mistake, I am currently using sdk14.2, I did not see a similar description of "Memory management in nrf_crypto" in sdk14.2. Based on sdk14.2, how much ram does it take to encrypt with micro-ecc backend?
Best regards,
Zero
Hi Zero,
1)nRF5 SDK1.4.x does not have a formal production-level nrf_crypto library.
2)micro-ecc is for ECDH or ECDSA implementation, they are key exchange algorithms. It is not used for AES, which is a kind of bulk encryption algorithm.
If you just start your research on crypto usage, I suggest you learn some basic knowledge on security cipher suit first, then start with the latest Cryptography samples — nRF Connect SDK 1.9.0 documentation (nordicsemi.com). This will speed up your development and also make your life much easier. ;-)
Best regards,
Charlie
Hi Charlie,
Looking at the specification of 52810, it supports ECB peripherals, so how to use ECB peripherals for encryption and decryption based on sdk14.2?
Best regards,
Zero
Hi Zero,
The following library demostrates how ECB peripheral is used.
modules\nrfx\hal\nrf_ecb.c
modules\nrfx\hal\nrf_ecb.h
Search function name through nRF5 SDK and you will find how these functions are used by other components.
Best regards,
Charlie