The EncryptedDataProtector::finalize method relies on aliasing a size_t* to an int*. This only work on little endian (it's also bad because of aliasing in general)
Use data view primitives in symmetric_crypto aesGenerateIV as well (to get rid of the unnecessary aliasing)