Fix cipher mode assignment in adapter

b/73127061

Merge of http://go/wvgerrit/42923

Test: Unit tests/playback
This commit is contained in:
Srujan Gaddam
2018-02-08 14:55:17 -08:00
parent 0bc2cf66bc
commit 3bbd0584a8

View File

@@ -1368,7 +1368,7 @@ extern "C" OEMCryptoResult OEMCrypto_LoadKeys(
key_array_v13[i].key_data_length = key_array[i].key_data_length;
key_array_v13[i].key_control_iv = key_array[i].key_control_iv;
key_array_v13[i].key_control = key_array[i].key_control;
key_array_v13[i].cipher_mode == OEMCrypto_CipherMode_CTR;
key_array_v13[i].cipher_mode = OEMCrypto_CipherMode_CTR;
}
OEMCrypto_KeyObject_V13* key_array_v13_ptr = NULL;
if (num_keys > 0) key_array_v13_ptr = &key_array_v13[0];