Hire a Software Architecture Developer

Chiuso Pubblicato 6 anni fa Pagato alla consegna
Chiuso Pagato alla consegna

a application called OScam, I need to implement/add some code to this program

OSCam does not support the implementetion of a hardware key and ek pair key, I want it to accept it

I have this keys from a original reciever.

To get 090f and 093e Viasat HD channels to work.

Newcs has the hwkey and ekpair option, which decodes the Viasat HD channels, if you have the right key.

Is there any possibility to implement this in oscam?

OSCAM currently supports BoxID as a configuration parameter, which grants access to SD channels.

However, there is a second layer of encryption for the HD channels on this card (093E), achieved by hardware pairing of the card and the reciever.

In the last version of NewCS there was support for entering this second key in the config files but OSCam dont have it.

maybe it will work:

void VG_ReorderAndDecrypt(unsigned char *p,unsigned char *key)

{

unsigned char tmp[16];

AES_KEY akey;

xcCamCryptVG_Reorder16A(tmp, key);

AES_set_decrypt_key(tmp, 128, &akey);

xcCamCryptVG_Reorder16A(tmp, p);

AES_decrypt(tmp, tmp, &akey);

xcCamCryptVG_Reorder16A(p, tmp);

}

void VG_Overcrypt(char *a1, char *a2, char *a3)

{

char tmp[16];

memcpy(tmp,a2,16);

VG_ReorderAndDecrypt(tmp,a1);

VG_ReorderAndDecrypt(a3,tmp);

}

where:

a1-ekpair

a2- hwkey

a3- cw

Architettura Software Progettazione Software

Rif. progetto: #15260902

Info sul progetto

Progetto a distanza Attivo 6 anni fa