Read details from encrypted frame

  • Anonymous - 2012-04-26


    I am working on a digital cinema project that uses the  MXF files. While I was on the area of encryption/decryption of  a mxf, I need to extract IV,CV,Essence(including padding),MIC seperately.

    I know that IV,CV are 16 bytes each,but how can i extract it from a frame that is encrypted?

    Thanks in advance,

  • Matt Beard

    Matt Beard - 2012-04-26


    The IV and encrypted Check Value are first 16 bytes of the "Encrypted Source Value" specified in Table 9 of SMPTE 429-6-2006.  The MIC is the last entry in the pack.

    If you don't have access to SMPTE 429-6-1006, but can read the raw Encrypted value KLVs, then you will need to parse it as BER-Length + Value pairs (any of which may have a length of zero meaning no value). The forth of these items is the Encrypted Source (+padding). This value will start with16 bytes of IV, then 16 bytes of Check Value. There are three optional values after the encrypted value, the third of which is the MIC.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks