![]() |
DVBCore
22.11.0
Open Source DVB Engine
|
CI Content Control - descrambler keys. More...
#include <string.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "stbhwos.h"
#include "stbci.h"
#include "stberc.h"
#include "stbdpc.h"
#include "stbpvr.h"
#include "stbheap.h"
#include "stbcikeys.h"
#include "stbci_int.h"
Classes | |
struct | key_info |
struct | s_cikeys_info |
Macros | |
#define | EVEN_KEY_REGISTER 0 |
#define | ODD_KEY_REGISTER 1 |
Typedefs | |
typedef struct key_info | S_KEY_INFO |
typedef struct s_cikeys_info | S_CIKEYS_INFO |
Functions | |
void | STB_CiKeysInitialise (void) |
CI descrambler keys support initialise. | |
void | STB_CiKeysDisable (U8BIT slot_id) |
Disable CC keys for slot, as CAM has been removed. More... | |
void | STB_CiKeysRemove (U8BIT slot_id) |
Notify module removal. More... | |
void | STB_CINotifyCCKey (U8BIT slot_id, U8BIT cipher, U8BIT key_register, U8BIT *key, U8BIT *civ) |
Handle content control keys. More... | |
void | STB_CiKeysApply (U8BIT path, U8BIT slot_id) |
Apply stored CC keys (if any) on given path. More... | |
void | STB_CiKeysClear (U8BIT path, U8BIT slot_id) |
Clear CC keys (if any) from given path. More... | |
CI Content Control - descrambler keys.
void STB_CiKeysApply | ( | U8BIT | path, |
U8BIT | slot_id | ||
) |
Apply stored CC keys (if any) on given path.
path | Path to apply keys on |
slot_id | zero-based CI slot identifier (0, 1, ...) |
void STB_CiKeysClear | ( | U8BIT | path, |
U8BIT | slot_id | ||
) |
Clear CC keys (if any) from given path.
path | Path to clear keys from |
slot_id | zero-based CI slot identifier (0, 1, ...) |
void STB_CiKeysDisable | ( | U8BIT | slot_id | ) |
Disable CC keys for slot, as CAM has been removed.
Disable CC keys for slot, as CAM is being removed.
slot_id | zero-based CI slot identifier (0, 1, ...) |
void STB_CiKeysRemove | ( | U8BIT | slot_id | ) |
Notify module removal.
Process CAM removal from slot for CI Keys support.
slot_id | zero-based CI slot identifier (0, 1, ...) |
void STB_CINotifyCCKey | ( | U8BIT | slot_id, |
U8BIT | cipher, | ||
U8BIT | key_register, | ||
U8BIT * | key, | ||
U8BIT * | civ | ||
) |
Handle content control keys.
slot_id | zero-based CI slot identifier (0, 1, ...) |
cipher | cipher to be used |
key_register | key register to be used |
key | AES/DES key (according to cipher) |
civ | initialisation vector for cipher |