Merge "Disable new unit tests for old oemcrypto" into oc-dev

This commit is contained in:
Fred Gylys-Colwell
2017-03-29 20:22:23 +00:00
committed by Android (Google) Code Review

View File

@@ -3940,7 +3940,7 @@ TEST_F(GenericCryptoTest, GenericKeyBadEncrypt) {
BadEncrypt(3, OEMCrypto_AES_CBC_128_NO_PADDING, buffer_size_); BadEncrypt(3, OEMCrypto_AES_CBC_128_NO_PADDING, buffer_size_);
} }
TEST_F(GenericCryptoTest, GenericKeyEncryptSameBuffer) { TEST_F(GenericCryptoTest, GenericKeyEncryptSameBufferAPI12) {
EncryptAndLoadKeys(); EncryptAndLoadKeys();
unsigned int key_index = 0; unsigned int key_index = 0;
vector<uint8_t> expected_encrypted; vector<uint8_t> expected_encrypted;
@@ -3977,7 +3977,7 @@ TEST_F(GenericCryptoTest, GenericKeyDecrypt) {
ASSERT_EQ(clear_buffer_, resultant); ASSERT_EQ(clear_buffer_, resultant);
} }
TEST_F(GenericCryptoTest, GenericKeyDecryptSameBuffer) { TEST_F(GenericCryptoTest, GenericKeyDecryptSameBufferAPI12) {
EncryptAndLoadKeys(); EncryptAndLoadKeys();
unsigned int key_index = 1; unsigned int key_index = 1;
vector<uint8_t> encrypted; vector<uint8_t> encrypted;