Import ed25519 from openssh-6.6p1

Minor modifications were done by me to remove the OpenSSH dependency /
make it freestanding.