ecdsa: use standard declarative notation for functions
ecdsa: fix indentation