ECIES: refactoring EC code by moving common interfaces to EcKey

Change-Id: I6a0c5dfa8072c6f82f77316a2e8b2252d976ae0f
7 files changed