Rename key_fmt to key_file_fmt type and introduce a real key_fmt enum. 04/68004/4
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Wed, 20 Apr 2016 13:19:50 +0000 (15:19 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 4 May 2016 13:16:32 +0000 (06:16 -0700)
commite14076c63ee6c0954c7e0036e9ff1f41f2ce827b
tree5f6a20941983f180fe732fe27bf21e45791eb08f
parente78e0eda6122a683bffdebe9070fc1d17a27356e
Rename key_fmt to key_file_fmt type and introduce a real key_fmt enum.

key_file_fmt is a format of the file (PEM, DER, RAW, BASE64).
Newly added key_fmt is a format of a key within file format (PKCS#X, etc).

E.g. we can have PKCS#1 encoded as PEM or DER and PKCS#8 encoded again
as PEM or DER. Those two format types are independent of each other.

Change-Id: I38b9106c619a5b45c09be48d95f9278f43b79dd4
api/yaca/key.h
api/yaca/types.h
examples/encrypt_aes_gcm.c
examples/key_exchange.c
examples/test.c
src/key.c
todo.txt