f753fd4084d80049bf92fbcddbcfe6e8ec7629be
License server SDK between [v16.3.3, v16.4.3] strips 16 bytes from wrapped content keys unconditionally when generating the OEMCrypto core message even when the padding is not present, which happens when license protocol version 2.2 is used. As a result, both key data offset and key data length would be zero in the license response OEMCrypto core message. This CL workaround the problem by assuming deterministic in order serialization of the protobuf fields and deriving the key data offset from the previous field key_data_iv offset. Entitlement keys and generic crypto keys are not handled in this CL intentionally to reduce the implementation complexity. Renewal signing keys do not need to be handled as the paddings are not stripped from the signing keys. The workaround is defined under flag WORKAROUND_STRIP_PADDING_BUG. Also disabled HAS_PROVIDER_KEYS temporarily. Bug: 280521253
Description
No description provided