Merge "Disable new unit tests for old oemcrypto" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
92dff24180
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user