8 void read(
const char * shmPage);
9 void write(
char * shmPage);
19 std::string
hexString(
const char * data,
unsigned long dataLen);
21 std::string
AES_Crypt(
const std::string & data,
const std::string &
key, std::string & ivec);
22 std::string
AES_Crypt(
const char * data,
int dataLen,
const char *
key,
const char * ivec);
25 void AESFullCrypt(
char * data,
int dataLen,
const char *
key,
const char * ivec);
26 void AESPartialCrypt(
char * data,
int dataLen,
char * expandedKey,
char * eCount,
char * iVec,
unsigned int & num,
bool & initialize);
std::string laurl
Definition: encryption.h:15
void AESFullCrypt(char *data, int dataLen, const char *key, const char *ivec)
This function encrypts data in-place.
Definition: encryption.cpp:105
void read(const char *shmPage)
Definition: encryption.cpp:200
std::string key
Definition: encryption.h:12
std::string hexString(const char *data, unsigned long dataLen)
helper function for printing binary values
Definition: encryption.cpp:18
std::string PR_GuidToByteArray(std::string &guid)
Definition: encryption.cpp:87
std::string lauurl
Definition: encryption.h:16
std::string url
Definition: encryption.h:10
std::string keyid
Definition: encryption.h:13
std::string AES_Crypt(const std::string &data, const std::string &key, std::string &ivec)
Definition: encryption.cpp:30
Definition: encryption.cpp:16
void encryptPlayReady(DTSC::Packet &thisPack, std::string &codec, const char *iVec, const char *key)
Definition: encryption.cpp:116
std::string keyseed
Definition: encryption.h:14
void write(char *shmPage)
Definition: encryption.cpp:217
void fillVerimatrix(verimatrixData &vmData)
Definition: encryption.cpp:180
std::string PR_GenerateContentKey(std::string &keyseed, std::string &keyid)
Definition: encryption.cpp:65
DTSC::Packets can currently be three types: DTSC_HEAD packets are the "DTSC" header string...
Definition: dtsc.h:100
std::string name
Definition: encryption.h:11
void AESPartialCrypt(char *data, int dataLen, char *expandedKey, char *eCount, char *iVec, unsigned int &num, bool &initialize)
This function encrypts data in-place.
Definition: encryption.cpp:46