crypto_asdcp.h File Reference

Definitions for AS-DCP compatible encryption and decryption. More...

#include <mxflib/mxflib.h>
#include <stdlib.h>
#include "openssl/aes.h"
#include "openssl/sha.h"

Go to the source code of this file.

Classes

class  HashHMACSHA1
 HMAC-SHA1 hash function wrapper. More...
class  AESEncrypt
 AES encryption class. More...
class  Encrypt_GCReadHandler
 Encrypting GCReader handler. More...
class  Basic_GCFillerHandler
 Basic GCReader handler for filler. More...
class  AESDecrypt
 AES decryption class. More...
class  Decrypt_GCEncryptionHandler
 Decrypting GCReader encryption handler. More...
class  Decrypt_GCReadHandler
 Decrypting GCReader handler. More...

Functions

DataChunkPtr BuildHashKey (size_t Size, const UInt8 *CryptoKey)
 Build an AS-DCP hashing key from a given crypto key.
DataChunkPtr BuildHashKey (DataChunkPtr &CryptoKey)
 Build an AS-DCP hashing key from a given crypto key.
DataChunkPtr BuildHashKey (DataChunk &CryptoKey)
 Build an AS-DCP hashing key from a given crypto key.

Variables

bool Hashing
 True if we are doing hashing calculations.
bool ForceKeyMode
 Flag set if forcing a given key irrespective of the key details in the file.


Detailed Description

Definitions for AS-DCP compatible encryption and decryption.

Version:
Id
crypto_asdcp.h,v 1.5 2006/09/04 16:18:21 matt-beard Exp

Function Documentation

DataChunkPtr BuildHashKey ( DataChunk CryptoKey  )  [inline]

Build an AS-DCP hashing key from a given crypto key.

DataChunkPtr BuildHashKey ( DataChunkPtr CryptoKey  )  [inline]

Build an AS-DCP hashing key from a given crypto key.

DataChunkPtr BuildHashKey ( size_t  Size,
const UInt8 CryptoKey 
)

Build an AS-DCP hashing key from a given crypto key.

Constant value to be hashed with cypher key to produce the hashing key


Variable Documentation

bool ForceKeyMode

Flag set if forcing a given key irrespective of the key details in the file.

bool Hashing

True if we are doing hashing calculations.


Generated on Mon Apr 2 15:20:54 2007 for MXFLib by  doxygen 1.5.1-p1