Small fixes in key.c
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Thu, 28 Apr 2016 11:39:06 +0000 (13:39 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 6 May 2016 07:34:43 +0000 (09:34 +0200)
commit782ce7f8fe5088539326dd9d92df30b9f6b03ded
tree94a8124a3c78771b3404f994615be128601166fb
parent04e0b98b70502efc859928d0704627bb7f59e768
Small fixes in key.c

Check for key length (non zero and dividable by 8).
Asymmetric keys in the current state are INVALID_ARGUMENT.

Change-Id: Ic7dd64fa86a485f11e52b83b2b82f710c4d55c80
src/key.c