276: added Ed25519 code to eddsa namespace, and applied some refactoring