Adapted ed25519 code to unit test crypto_sign and crypto_sign_open