Addet ECC functions on elliptic curve secp256r1.

Rebase done, see pull request #624