The library code and the examples don't correspond. It seems that the examples are from an older version of the library that offered an object oriented interface while the current version offers just a function based interface.
Thanks pylon for response. I have tried two/three libraries from GitHub and all of them give me the same error. Any suggestion please for finding a robust library.
The library may be robust but the examples are simply wrong. If you want to use it on an UNO the above library may be the only one that may run. Keep in mind that the ATmega328p of the UNO has only 2kB of RAM. The library uses about a quarter of it and if you use some other libraries or other RAM intensive code you may run out of memory.
To get any suggestions you have to clearly define what your needs are and what resources you still have available.
I used HMAC and SHA 256 for message authentication and integrity.
Now I want to use a cryptography logic like AES or RSA together with HMAC and Sha256 in a single arduino sketch.
I want to secure message confidentiality, integrity and authentication at the same time.
How do i proceed please?
Thanks
Think about doing that on another platform. Connect your Arduino to a linux based board (p.e. Raspberry Pi) and do the cryptographic stuff there. The Arduino does neither have the RAM nor the processor resources to do that job.