Addet ECC functions on elliptic curve secp256r1.

Rebase done, see pull request #624
SmallLars: Why not use a function instead of a macro. The impact on performance should be negligible.