Base ECDSA/ECDH key classes

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>