Treat pwd data deserialization as an error 60/213260/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 3 Sep 2019 09:33:13 +0000 (11:33 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 3 Sep 2019 09:39:53 +0000 (11:39 +0200)
commitc0bd1d0122558e1d062269ff33040559990f1803
treec06e91a7e18722b3e116950922318b7d73d90e4a
parentb4e8e40dd875264f868d21fbee8cb9e6eb75c123
Treat pwd data deserialization as an error

The KM_PwdData structure keeps an authentication data needed to access
an item on the TA side. As such it should only be transferred from
key-manager to the TA.

Expecting such structure in an output buffer of the TA command
execution is a programmer error. It is now dealt with accordingly.

Change-Id: I209957a05700052eefc694d82b881c8aae96abb5
src/manager/crypto/tz-backend/tz-serializer.cpp