tsdecrypt reads and decrypts CSA encrypted incoming mpeg transport stream over UDP/RTP using code words obtained from OSCAM or similar CAM server. tsdecrypt communicates with CAM server using cs378x (camd35 over tcp) protocol or newcamd protocol. https://georgi.unixsol.org/programs/tsdecrypt/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

util.h 314B

123456789101112
  1. #ifndef UTIL_H
  2. #define UTIL_H
  3. #include <inttypes.h>
  4. unsigned long crc32(unsigned long crc, const uint8_t *buf, unsigned int len);
  5. int32_t boundary(int32_t exp, int32_t n);
  6. uint8_t *init_4b(uint32_t val, uint8_t *b);
  7. uint8_t *init_4l(uint32_t val, uint8_t *b);
  8. uint8_t *init_2b(uint32_t val, uint8_t *b);
  9. #endif