Browse Source

Add support for Bulcrypt CAS.

Georgi Chorbadzhiyski 8 years ago
parent
commit
1ddc5acb6f
2 changed files with 3 additions and 0 deletions
  1. 2
    0
      cat.c
  2. 1
    0
      tsdata.h

+ 2
- 0
cat.c View File

@@ -195,6 +195,7 @@ enum CA_system ts_get_CA_sys(uint16_t CA_id) {
195 195
 	if (CA_id >= 0x0D00 && CA_id <= 0x0DFF) return CA_CRYPTOWORKS;
196 196
 	if (CA_id >= 0x1800 && CA_id <= 0x18FF) return CA_NAGRA;
197 197
 	if (CA_id >= 0x4AE0 && CA_id <= 0x4AE1) return CA_DRECRYPT;
198
+	if (CA_id == 0x5581 || CA_id == 0x4AEE) return CA_BULCRYPT;
198 199
 	return CA_UNKNOWN;
199 200
 }
200 201
 
@@ -209,6 +210,7 @@ char * ts_get_CA_sys_txt(enum CA_system CA_sys) {
209 210
 		case CA_CRYPTOWORKS:	return "CRYPTOWORKS";
210 211
 		case CA_NAGRA:			return "NAGRA";
211 212
 		case CA_DRECRYPT:		return "DRE-CRYPT";
213
+		case CA_BULCRYPT:		return "BULCRYPT";
212 214
 		case CA_UNKNOWN:		return "UNKNOWN";
213 215
 	}
214 216
 	return "UNKNOWN";

+ 1
- 0
tsdata.h View File

@@ -101,6 +101,7 @@ enum CA_system {
101 101
 	CA_CRYPTOWORKS,	// 0x0D00 - 0x0DFF CrytoWorks
102 102
 	CA_NAGRA,		// 0x1800 - 0x18FF Kudelski SA (Nagravision)
103 103
 	CA_DRECRYPT,	// 0x4AE0 - 0x4AE1 OOO Cifra (DRE-Crypt)
104
+	CA_BULCRYPT,	// 0x5581 & 0x4AEE Bulcrypt
104 105
 	CA_UNKNOWN,
105 106
 };
106 107
 

Loading…
Cancel
Save