Arithmetic API implementation

- Based on OpenSSL BIGNUM library

Change-Id: I8fbcb4725ff04aa0b0aff2386a155bf81a24d723
Signed-off-by: Mika Tammi <mikatammi@gmail.com>