Add initial support for ECDSA and ECDH.
ECC actually does not work for now as it seems like its implementation
in BCPG 1.50 is incomplete for non-JCA use case.