Test proper GCM IV length handling 70/293270/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 23 May 2023 06:45:16 +0000 (08:45 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 24 May 2023 10:12:52 +0000 (12:12 +0200)
commit61b910797b706b3e8494eb5841e4462bf1356125
tree25aed4740dced92758a5b2b17628e08126239217
parentdcfdfe65365199420d8faf184df14c48e532ba75
Test proper GCM IV length handling

GCM implementation was using only the first 12B of IV regardless of its
actual length. This modification makes the test check if the remaining
bytes of the IV are ignored.

Change-Id: I94281747bbe9363854484844fa038ae9bcd47a19
src/manager/crypto/generic-backend/crypto-params.h
unit-tests/test_sw-backend.cpp