Changeset 1075
- Timestamp:
- 01/05/10 18:29:46 (14 years ago)
- Location:
- branches/smartreader
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/csctapi/ifd_towitoko.c
r1072 r1075 553 553 params.ETU = 372; 554 554 params.EGT = 3; 555 params. FI= 9;555 params.fs = 9; 556 556 params.T = 0; 557 557 … … 562 562 if(ioctl(ifd->io->fd, IOCTL_SET_RESET)<0) 563 563 return IFD_TOWITOKO_IO_ERROR; 564 564 565 565 #ifdef SH4 566 566 gettimeofday(&tv,0); -
branches/smartreader/globals.h
r1038 r1075 388 388 int nagra_native; 389 389 uchar aes_key[16]; 390 uchar rsa_mod[ 64]; //rsa modulus for nagra cards390 uchar rsa_mod[120]; //rsa modulus for nagra cards. 391 391 ulong sidtabok; // positiv services 392 392 ulong sidtabno; // negative services -
branches/smartreader/oscam-config.c
r1049 r1075 1117 1117 if (key_atob_l(value, rdr->rsa_mod, 128)) 1118 1118 { 1119 fprintf(stderr, "Configuration reader: Error in RSA Key\n");1119 fprintf(stderr, "Configuration reader: Error in n3_rsakey\n"); 1120 1120 exit(1); 1121 1121 } 1122 1122 return; 1123 1123 } 1124 if (!strcmp(token, "n3_boxkey")) 1124 if (!strcmp(token, "tiger_rsakey")) 1125 { 1126 rdr->nagra_native=1; 1127 if (key_atob_l(value, rdr->rsa_mod, 240)) 1128 { 1129 fprintf(stderr, "Configuration reader: Error in tiger_rsakey\n"); 1130 exit(1); 1131 } 1132 return; 1133 } 1134 if (!strcmp(token, "n3_boxkey") || !strcmp(token, "tiger_ideakey")) 1125 1135 { 1126 1136 if (key_atob_l(value, rdr->nagra_boxkey, 16))
Note:
See TracChangeset
for help on using the changeset viewer.