Using OpenSSL with Contiki -
i use openssl library contiki. have installed , header files in /usr/include/openssl
, including headers doesn't work. i've tried passing -lcrypto
flag compiler, still no success. there flag need use or cannot use openssl library @ all?
you have installed host version of openssl, not possible use host libraries cross-compiling binaries microcontroller targets or targets of architecture different host compiling on (strictly speaking).
it using openssl of contiki platform rather impossible. library far big microcontroller, there chance 1 may able hack support "native" platform.
you may wish take @ cyassl alternative solution know fit on microcontrollers. there other ssl libraries may wish consider trying (e.g. matrixssl , sharkssl). of these commercial or free non-commercial use.
there various other partial solutions securing network traffic:
- use http(s) proxy (such nginx) terminate ssl connection between local end-device network , internet
- use soc has built in cryptographic accelerator contiki (e.g. mc1322x)
- use thingsquare mist has aes api radio network encryption , websocket
if using udp (rather https or other tcp protocol) project sufficient, may wish take @ dtls implementation contiki. there exists implementation of ipsec, might suitable applications.
Comments
Post a Comment