Skip cipher output checks on pre-T StrongBox

Starting with Android T, we test for expected output from the cipher
update method. Since we didn't check this prior to T, we cannot require
that new system images running with older vendor bits work with these
restrictions.

Don't compare output of `update` at all on older strongbox, else the
test is flaky on devices with mixed T system and <T vendor.

Bug: 235273703
Test: android.keystore.cts.AES128CBCPKCS7PaddingCipherTest
Change-Id: I726f3a393f92cd033e827692f3db0b28262bce32
1 file changed