|
SASC-NG
DVBSoftCAM
|
#include <openssl/bn.h>Go to the source code of this file.
Classes | |
| class | cBN |
| class | cBNctx |
Functions | |
| void | RotateBytes (unsigned char *in, int n) |
| void | RotateBytes (unsigned char *out, const unsigned char *in, int n) |
| void RotateBytes | ( | unsigned char * | in, |
| int | n | ||
| ) |
Definition at line 38 of file crypto.c.
Referenced by cN2Prov0101::Algo(), cNagra1::CreatePQ(), cNagraDES::Crypt(), cNagraDES::Decrypt(), cNagra2::DecryptECM(), cNagra2::DecryptEMM(), cNagra1::DecryptEMM(), cCryptoworks::DecryptRSA(), cBN::GetLE(), cN2Prov::MECM(), cSystemNagra::ProcessECM(), and cBN::PutLE().
{
if(n>1) {
unsigned char *e=in+n-1;
do {
unsigned char temp=*in;
*in++=*e;
*e-- =temp;
} while(in<e);
}
}