- // why this value? i dunno. it was peeled from mxflib.
- static const ui32_t HeaderPadding = 16384;
-
- const byte_t GCMulti_Data[16] =
- { 0x06, 0x0E, 0x2B, 0x34, 0x04, 0x01, 0x01, 0x03,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x7F, 0x01, 0x00 };
-
- static const byte_t CipherAlgorithm_AES[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x07,
- 0x02, 0x09, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00 };
-
- static const byte_t MICAlgorithm_NONE[klv_key_size] = {0};
- static const byte_t MICAlgorithm_HMAC_SHA1[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x07,
- 0x02, 0x09, 0x02, 0x02, 0x01, 0x00, 0x00, 0x00 };
-
-#ifdef SMPTE_LABELS
- static byte_t OPAtom_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x02,
- 0x0d, 0x01, 0x02, 0x01, 0x10, 0x00, 0x00, 0x00 };
- static UL OPAtomUL(OPAtom_Data);
-#else
- static byte_t OPAtom_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
- 0x0d, 0x01, 0x02, 0x01, 0x10, 0x00, 0x00, 0x00 };
- static UL OPAtomUL(OPAtom_Data);
-#endif
-
- static const byte_t OP1a_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
- 0x0d, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x00 };
- static UL OP1aUL(OP1a_Data);
-
- // Essence element labels
- static const byte_t WAVEssenceUL_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x02, 0x01, 0x01,
- 0x0d, 0x01, 0x03, 0x01, 0x16, 0x01, 0x01, 0x00 };
-
- static const byte_t MPEGEssenceUL_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x02, 0x01, 0x01,
- 0x0d, 0x01, 0x03, 0x01, 0x15, 0x01, 0x05, 0x00 };
-
- static const byte_t JP2KEssenceUL_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x02, 0x01, 0x01,
- 0x0d, 0x01, 0x03, 0x01, 0x15, 0x01, 0x08, 0x01 };
-
-#ifdef SMPTE_LABELS
- static const byte_t CryptEssenceUL_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x02, 0x04, 0x01, 0x01,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x7e, 0x01, 0x00 };
-#else
- static const byte_t CryptEssenceUL_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x02, 0x04, 0x01, 0x07,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x7e, 0x01, 0x00 };
-#endif
-
- // Essence Container Labels
- static const byte_t WrappingUL_Data_PCM_24b_48k[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x06, 0x01, 0x00 };
-
- static const byte_t WrappingUL_Data_MPEG2_VES[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x02,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x04, 0x60, 0x01 };
-
- static const byte_t WrappingUL_Data_JPEG_2000[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x07,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x0c, 0x01, 0x00 };
-
- static const byte_t WrappingUL_Data_Crypt[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x07,
- 0x0d, 0x01, 0x03, 0x01, 0x02, 0x0b, 0x01, 0x00 };
-
-
- // the label for the Cryptographic Framework DM scheme
- static const byte_t CryptoFrameworkUL_Data[klv_key_size] =
- { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x07,
- 0x0d, 0x01, 0x04, 0x01, 0x02, 0x01, 0x01, 0x00 };