The crypto_sign_open() function verifies the signature in 'sm' using the receiver's public key 'pk'. The crypto_sign_open() function returns the message.
WARNING! This function allocates!
= signed message
= public key, slice size must be at least crypto_sign_PUBLICKEYBYTES, extra ignored
decrypted message or null on error
See Implementation
The crypto_sign_open() function verifies the signature in 'sm' using the receiver's public key 'pk'. The crypto_sign_open() function returns the message.
WARNING! This function allocates!