CKM: Adjust GCM tag len tests to GP 66/202366/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 27 Mar 2019 13:39:07 +0000 (14:39 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 5 Apr 2019 09:27:41 +0000 (11:27 +0200)
commit77165c071224559fad7126e83154629683225f02
tree22b4a5c311f6856f5357a0f48c90a5fbb84ca705
parent8f20c9b94c4b74a16b10bb2fc0c3925842f9afeb
CKM: Adjust GCM tag len tests to GP

According to GP API spec the shortest supported GCM tag length is 96
bits. Software backend allows shorter tags.

Expect error in case of tags shorter than 96 in TZ mode.

Change-Id: I3d716ab57670c735470c78069fb620edccc84daf
src/ckm/unprivileged/encryption-decryption.cpp