[ Merge of http://go/wvgerrit/67984 ] Getting the address of the first element is invalid when the size is 0. Calling data() is valid when the size is zero so long as we don't use the resulting pointer. This is important when we pass the pointer to low-level functions like memcpy. Also, MSVC is stricter about this and doesn't allow indexing the 0-th element when it is empty. But GCC/Clang seem to be fine with it so long as the object isn't used. Test: WV unit/integration tests Change-Id: Ic5d11da41dd3a185a63f86a6ea91e9b954fd699a
Reference OEMCrypto
This directory contains a testing-only implementation of OEMCrypto. This implementation is NOT suitable for production use and must NOT be released on devices.