How to enable message encryption in Contiki / Cooja simulator?

后端 未结 2 1017
死守一世寂寞
死守一世寂寞 2021-02-09 13:36

I want to encrypt the messages that are exchanged between sensor nodes.

Can I do it without having access to real hardware sensor nodes, such as Tmote Sky?

Can s

2条回答
  •  借酒劲吻你
    2021-02-09 14:12

    The llsec is the security stack. For example the anti-replay llsec_driver avoid replay attack.
    About pure encryption (so no logic security), software encryption are available for all platform (not only skymote) with hardware boost (for some platform) (contiki-os blog check at encryption paragraph).
    Cooja is an emulator, not a simulator (Cooja in depth). So it simulates everything from the hardware. Therefore, you don't need a real mote to make test.
    Symmetric and asymmetric encryption have differences on a logical point of view. But on hardware it's same : you'll send bits that represent a key. I don't see why it would be different for emulation.
    For hardware encryption, if the mote support it, yes you can. If not you can't. (emulated or not).
    Hope it helped.

提交回复
热议问题