API changes around key_import and key_export
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Wed, 20 Apr 2016 14:35:44 +0000 (16:35 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 6 May 2016 07:34:31 +0000 (09:34 +0200)
commit04e0b98b70502efc859928d0704627bb7f59e768
treef59d6525f9fc2623c5a07d51fad8e6a42ec2762f
parentaaaec9752659528bde03a642ad1d43b9c2ae3945
API changes around key_import and key_export

key_import will autodetect key_format and key_file_format. Only the
expected key_type is required.
key_export needs to have key_format and key_file_format explicitly
given (obviously). It will get the key_type from the key.

Change-Id: I6a8e04c886f6acd95dc124918606fbad992108c2
api/yaca/key.h
examples/encrypt_aes_gcm.c
examples/key_exchange.c
examples/test.c
src/key.c