Browse Source

biss: missing bissca prefix

master
Rafaël Carré 6 years ago
parent
commit
b6d9ffebe8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ebu/biss.h

+ 2
- 2
ebu/biss.h View File

@ -89,7 +89,7 @@ static inline uint8_t bissca_emm_get_last_table_id(const uint8_t *p_emm)
static inline void bissca_emm_set_emm_cipher_type(uint8_t *p_emm, uint8_t bissca_emm_cipher_type) static inline void bissca_emm_set_emm_cipher_type(uint8_t *p_emm, uint8_t bissca_emm_cipher_type)
{ {
p_emm[BISSCA_EMM_HEADER_SIZE+3] &= 0x0f; p_emm[BISSCA_EMM_HEADER_SIZE+3] &= 0x0f;
p_emm[BISSCA_EMM_HEADER_SIZE+3] |= (emm_cipher_type << 5);
p_emm[BISSCA_EMM_HEADER_SIZE+3] |= (bissca_emm_cipher_type << 5);
} }
static inline uint8_t bissca_emm_get_emm_cipher_type(const uint8_t *p_emm) static inline uint8_t bissca_emm_get_emm_cipher_type(const uint8_t *p_emm)
@ -195,7 +195,7 @@ static inline bool bissca_emm_validate(const uint8_t *p_emm)
|| i_section_size < BISSCA_EMM_HEADER_SIZE + 6 + bissca_emm_get_desclength(p_emm)) || i_section_size < BISSCA_EMM_HEADER_SIZE + 6 + bissca_emm_get_desclength(p_emm))
return false; return false;
if (!descl_validate(emm_get_descl_const(p_emm), bissca_emm_get_desclength(p_emm)))
if (!descl_validate(bissca_emm_get_descl_const(p_emm), bissca_emm_get_desclength(p_emm)))
return false; return false;
// TODO: validate RSA loop ? // TODO: validate RSA loop ?

Loading…
Cancel
Save