Pepper_31_C_interfaces
Public Attributes | List of all members
PP_EncryptedBlockInfo Struct Reference

#include <pp_content_decryptor_samsung.h>

Collaboration diagram for PP_EncryptedBlockInfo:
Collaboration graph

Public Attributes

struct PP_DecryptTrackingInfo tracking_info
 
uint32_t data_size
 
uint32_t data_offset
 
uint8_t key_id [64]
 
uint32_t key_id_size
 
uint8_t iv [16]
 
uint32_t iv_size
 
struct
PP_DecryptSubsampleDescription 
subsamples [16]
 
uint32_t num_subsamples
 
uint32_t padding
 

Detailed Description

The PP_EncryptedBlockInfo struct contains all the information needed to decrypt an encrypted block.

Definition at line 127 of file pp_content_decryptor_samsung.h.

Member Data Documentation

uint32_t PP_EncryptedBlockInfo::data_offset

Size in bytes of data to be discarded before applying the decryption.

Definition at line 139 of file pp_content_decryptor_samsung.h.

uint32_t PP_EncryptedBlockInfo::data_size

Size in bytes of data to be decrypted (data_offset included).

Definition at line 135 of file pp_content_decryptor_samsung.h.

uint8_t PP_EncryptedBlockInfo::iv[16]

Initialization vector of the block to be decrypted.

Definition at line 154 of file pp_content_decryptor_samsung.h.

uint32_t PP_EncryptedBlockInfo::iv_size

Definition at line 155 of file pp_content_decryptor_samsung.h.

uint8_t PP_EncryptedBlockInfo::key_id[64]

Key ID of the block to be decrypted.

TODO(xhwang): For WebM the key ID can be as large as 2048 bytes in theory. But it's not used in current implementations. If we really need to support it, we should move key ID out as a separate parameter, e.g. as a PP_Var, or make the whole PP_EncryptedBlockInfo as a PP_Resource.

Definition at line 149 of file pp_content_decryptor_samsung.h.

uint32_t PP_EncryptedBlockInfo::key_id_size

Definition at line 150 of file pp_content_decryptor_samsung.h.

uint32_t PP_EncryptedBlockInfo::num_subsamples

Definition at line 160 of file pp_content_decryptor_samsung.h.

uint32_t PP_EncryptedBlockInfo::padding

4-byte padding to make the size of PP_EncryptedBlockInfo a multiple of 8 bytes. The value of this field should not be used.

Definition at line 165 of file pp_content_decryptor_samsung.h.

struct PP_DecryptSubsampleDescription PP_EncryptedBlockInfo::subsamples[16]

Subsample information of the block to be decrypted.

Definition at line 159 of file pp_content_decryptor_samsung.h.

struct PP_DecryptTrackingInfo PP_EncryptedBlockInfo::tracking_info

Information needed by the client to track the block to be decrypted.

Definition at line 131 of file pp_content_decryptor_samsung.h.


The documentation for this struct was generated from the following file: