ContikiSEC for Tmote Sky platform at Contiki v2.5

I ported the ContikiSEC [1] to current version of Contiki OS. Compare to original version, it has following features:
– working with Tmote Sky (TelosB), the more popular platform than MSB430
– can simulate with COOJA since it run on Sky platform 😀
– working with newest release 2.5 on 8/9/2011
– having three security levels for your chose: encryption only (cbc sh), authentication only (cmac), and encryption + authentication (ae). It should be noted that the implementation in [1] did not feature “ae”.

However, at this time, this porting works with nullmac & nullrdc only. Further mac (contikimac) will be available soon.

The process to test this ContikiSEC is straightforward:

1. Copy contikisec folder to app directory.

2. Copy the testing-project to example directory.

3. Loading the COOJA project, run and see the result.

By default, the project configure security level to encryption (cbc sh), you may want to change it to Auth and AE by re-defining relevant declarations at contikisec.h under app/contikisec.

Download here. Cheer.

[1] Lander Casado and Philippas Tsigas, ContikiSec: A Secure Network Layer for Wireless Sensor Networks under the Contiki Operating System, IDENTITY AND PRIVACY IN THE INTERNET AGE, Lecture Notes in Computer Science, 2009

5 thoughts on “ContikiSEC for Tmote Sky platform at Contiki v2.5

  1. I an not able to run it getting error

    Makefile:9: /home/nqdinh/Contiki/conti-20110722/Makefile.include: No such file or directory
    make: *** No rule to make target `/home/nqdinh/Contiki/conti-20110722/Makefile.include’. Stop.

  2. I tried to run the code in Contiki-3.0 but I got the following errors

    make TARGET=sky
    fatal: Not a git repository: ‘/home/sultan/contiki-3.0/.git’
    mkdir obj_sky
    CC /home/sultan/contiki-3.0/apps/contikisec/aes.c
    /home/sultan/contiki-3.0/apps/contikisec/aes.c: In function ‘aes_set_key’:
    /home/sultan/contiki-3.0/apps/contikisec/aes.c:516:5: warning: case label value exceeds maximum value for type [enabled by default]
    /home/sultan/contiki-3.0/apps/contikisec/aes.c: At top level:
    /home/sultan/contiki-3.0/apps/contikisec/aes.c:309:13: warning: ‘copy_block’ defined but not used [-Wunused-function]
    /home/sultan/contiki-3.0/apps/contikisec/aes.c:336:13: warning: ‘copy_block_nn’ defined but not used [-Wunused-function]
    CC /home/sultan/contiki-3.0/apps/contikisec/cbc_cs.c
    In file included from /home/sultan/contiki-3.0/core/./sys/rtimer.h:56:0,
    from /home/sultan/contiki-3.0/apps/contikisec/cbc_cs.c:38:
    /home/sultan/contiki-3.0/platform/sky/./contiki-conf.h:216:10: error: #include expects “FILENAME” or
    make: *** [obj_sky/cbc_cs.o] Error 1
    Process returned error code 2

    Could you please help me with that?

Trả lời

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập: Logo

Bạn đang bình luận bằng tài khoản Đăng xuất /  Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Đăng xuất /  Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Đăng xuất /  Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Đăng xuất /  Thay đổi )


Connecting to %s