This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hash-sha512 in Mesh app

Hi There,

I try to use the sha512 to checksum. But,  the compiler told me the functions do not be defined. [ocrypto_sha512_init(), ocrypto_sha512_update(), ocrypto_sha512_final].

How can I use it in my application? (Based on Mesh5.0)

Regards,

Gaosheng Liu

Parents
  • Hi,

    Which exact error message do you get? Does this fail during compiling or building? If it fails during compilation, it indicates that you have not included the header file that defines these functions (which is ocrypto_sha512.h). If it fails during linking, it indicates that you have not added the library binary to your project (this is provided as binary only).

Reply
  • Hi,

    Which exact error message do you get? Does this fail during compiling or building? If it fails during compilation, it indicates that you have not included the header file that defines these functions (which is ocrypto_sha512.h). If it fails during linking, it indicates that you have not added the library binary to your project (this is provided as binary only).

Children
Related