|
SASC
DVBSoftCAM
|
#include <stdlib.h>#include <string.h>#include <ctype.h>#include <byteswap.h>#include <openssl/sha.h>#include "system-common.h"#include "data.h"#include "helper.h"#include "crypto.h"#include "parse.h"#include "misc.h"#include "log-sys.h"#include "log-core.h"#include "version.h"Go to the source code of this file.
Classes | |
| class | cPlainKeySeca |
| class | cSecaCardInfo |
| class | cSecaCardInfos |
| class | cSeca |
| struct | Perm |
| struct | ProvData |
| class | cSeca2Prov |
| class | cSeca2ProvLink |
| class | cSeca2ProvLinkReg< CC > |
| class | cSeca2Providers |
| class | cSeca2ProvSSE |
| class | cSeca2ProvFR |
| class | cSeca2ProvNL |
| class | cSeca2ProvPL |
| class | cSeca2ProvSPA |
| class | cSystemSeca |
| class | cSystemLinkSeca |
Defines | |
| #define | SYSTEM_SECA 0x0100 |
| #define | SYSTEM_NAME "Seca" |
| #define | SYSTEM_PRI -10 |
| #define | SYSTEM_CAN_HANDLE(x) ((x)==SYSTEM_SECA) |
| #define | FILEMAP_DOMAIN "seca" |
| #define | L_SYS 14 |
| #define | L_SYS_ALL LALL(L_SYS_LASTDEF) |
| #define | PLAINLEN_SECA_H 8 |
| #define | PLAINLEN_SECA_D 16 |
| #define | PLAINLEN_SECA_B 90 |
| #define | PLAINLEN_SECA_E 6 |
| #define | EMM_MAGIC 1 |
| #define | N51_MAGIC 2 |
| #define | swap8_4(d) __swap8_4(d) |
| #define | MAX_PERMS 10 |
| #define | KEY2INDEX(x) (((x)>>5)&0x03) |
| #define | beforeSig (pos-8) |
| #define | afterSig (pos+1) |
Functions | |
| SCAPIVERSTAG () | |
| static void | __swap8_4 (unsigned char *data) |
| static cSeca2ProvLinkReg < cSeca2ProvFR > | staticLinkFR (IdsFR) |
| static cSeca2ProvLinkReg < cSeca2ProvNL > | staticLinkNL (IdsNL) |
| static cSeca2ProvLinkReg < cSeca2ProvPL > | staticLinkPL (IdsPL) |
| static cSeca2ProvLinkReg < cSeca2ProvSPA > | staticLinkSPA (IdsSPA) |
Variables | |
| static struct LogModule | lm_sys |
| static cPlainKeyTypeReg < cPlainKeySeca,'S'> | KeyReg |
| static cSecaCardInfos | Scards |
| static const unsigned char | secaPC1 [] |
| static const unsigned char | secaPC2 [] |
| static const unsigned short | IdsFR [] = { 0x80,0x81,0 } |
| static struct ProvData | provDataFR |
| static const unsigned short | IdsNL [] = { 0x6a,0 } |
| static struct ProvData | provDataNL |
| static const unsigned short | IdsPL [] = { 0x65,0 } |
| static struct ProvData | provDataPL |
| static struct Perm | ptPL [MAX_PERMS] |
| static const unsigned short | IdsSPA [] = { 0x64,0x66,0x67,0 } |
| static struct ProvData | provDataSPA |
| static struct Perm | ptSPA [MAX_PERMS] |
| static cSystemLinkSeca | staticInit |
| static void __swap8_4 | ( | unsigned char * | data | ) | [inline, static] |
| SCAPIVERSTAG | ( | ) |
| static cSeca2ProvLinkReg<cSeca2ProvFR> staticLinkFR | ( | IdsFR | ) | [static] |
| static cSeca2ProvLinkReg<cSeca2ProvNL> staticLinkNL | ( | IdsNL | ) | [static] |
| static cSeca2ProvLinkReg<cSeca2ProvPL> staticLinkPL | ( | IdsPL | ) | [static] |
| static cSeca2ProvLinkReg<cSeca2ProvSPA> staticLinkSPA | ( | IdsSPA | ) | [static] |
const unsigned short IdsSPA[] = { 0x64,0x66,0x67,0 } [static] |
cPlainKeyTypeReg<cPlainKeySeca,'S'> KeyReg [static] |
{
(LMOD_ENABLE|L_SYS_ALL)&LOPT_MASK,
(LMOD_ENABLE|L_SYS_DEFDEF)&LOPT_MASK,
"seca",
{ L_SYS_DEFNAMES }
}
struct ProvData provDataFR [static] |
struct ProvData provDataNL [static] |
struct ProvData provDataPL [static] |
struct ProvData provDataSPA [static] |
{
{
{ 2, 4, 4, 3, 2, 2, 4, 4 },
{ 3, 2, 4, 3, 4, 4, 2, 3 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 }
},{
{ 4, 4, 3, 2, 2, 3, 3, 4 },
{ 4, 2, 3, 4, 3, 2, 4, 2 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 }
},{
},{
},{
},{
},{
},{
},{
{ 4, 4, 3, 2, 3, 4, 3, 2 },
{ 2, 4, 3, 2, 2, 4, 4, 3 },
{ 2, 3, 4, 1, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
},{
} }
{
{
{ 3, 2, 4, 3, 3, 4, 4, 2 },
{ 4, 4, 3, 3, 2, 2, 4, 4 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 }
},{
{ 2, 3, 4, 3, 2, 4, 3, 2 },
{ 4, 3, 2, 3, 4, 2, 4, 3 },
{ 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 }
},{
},{
},{
},{
},{
},{
},{
{ 3, 3, 4, 4, 3, 3, 2, 2 },
{ 3, 3, 2, 2, 3, 3, 2, 2 },
{ 2, 3, 4, 1, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0 }
},{
} }
cSecaCardInfos Scards [static] |
const unsigned char secaPC1[] [static] |
const unsigned char secaPC2[] [static] |
cSystemLinkSeca staticInit [static] |