0
$\begingroup$

I am working on a project wherein ECC needs to be implemented on small devices, namely, CC2650 sensor-tags for authentication. The ECC implementation should be on Contiki OS. I have read some articles which suggest it is possible to implement ECC on tiny devices. I want to know is it viable practically considering the memory and CPU processing overhead or one should only use Symmetric encryption, AES on these devices? I would also appreciate if someone can give me feedback on the choice of preferrable library among, RELIC, TinyECC, and OpenSSL.

$\endgroup$
0
$\begingroup$

The CC2650 is a Cortex M3 with 128KB flash memory and 20KB SRAM.

This is definitely not enough for RELIC or OpenSSL.

TinyECC fits, but even if this is only for signatures, some symmetric cryptography will be needed in addition to it.

Better options would be Cifra, libhydrogen, tweetNaCl or a minimal BearSSL build. They all fit in about 20 KB flash memory and require little stack to run.

$\endgroup$
  • $\begingroup$ Thanks for recommending the alternative libraries. I will try to implement these and get back if needed some help. $\endgroup$ – Aisha Nov 10 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.