FFmpeg  4.0
Data Fields
CryptoContext Struct Reference

Data Fields

const AVClassclass
 
URLContexthd
 
uint8_t inbuffer [BLOCKSIZE *MAX_BUFFER_BLOCKS]
 
uint8_t outbuffer [BLOCKSIZE *MAX_BUFFER_BLOCKS]
 
uint8_toutptr
 
int indata
 
int indata_used
 
int outdata
 
int64_t position
 
int flags
 
int eof
 
uint8_tkey
 
int keylen
 
uint8_tiv
 
int ivlen
 
uint8_tdecrypt_key
 
int decrypt_keylen
 
uint8_tdecrypt_iv
 
int decrypt_ivlen
 
uint8_tencrypt_key
 
int encrypt_keylen
 
uint8_tencrypt_iv
 
int encrypt_ivlen
 
struct AVAESaes_decrypt
 
struct AVAESaes_encrypt
 
uint8_twrite_buf
 
unsigned int write_buf_size
 
uint8_t pad [BLOCKSIZE]
 
int pad_len
 

Detailed Description

Definition at line 33 of file crypto.c.

Field Documentation

◆ class

const AVClass* CryptoContext::class

Definition at line 34 of file crypto.c.

◆ hd

URLContext* CryptoContext::hd

Definition at line 35 of file crypto.c.

Referenced by crypto_close(), crypto_open2(), crypto_read(), crypto_seek(), and crypto_write().

◆ inbuffer

uint8_t CryptoContext::inbuffer[BLOCKSIZE *MAX_BUFFER_BLOCKS]

Definition at line 36 of file crypto.c.

Referenced by crypto_read().

◆ outbuffer

uint8_t CryptoContext::outbuffer[BLOCKSIZE *MAX_BUFFER_BLOCKS]

Definition at line 36 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ outptr

uint8_t* CryptoContext::outptr

Definition at line 38 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ indata

int CryptoContext::indata

Definition at line 39 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ indata_used

int CryptoContext::indata_used

Definition at line 39 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ outdata

int CryptoContext::outdata

Definition at line 39 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ position

int64_t CryptoContext::position

Definition at line 40 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ flags

int CryptoContext::flags

Definition at line 41 of file crypto.c.

Referenced by crypto_open2(), and crypto_seek().

◆ eof

int CryptoContext::eof

Definition at line 42 of file crypto.c.

Referenced by crypto_read(), and crypto_seek().

◆ key

uint8_t* CryptoContext::key

Definition at line 43 of file crypto.c.

Referenced by crypto_open2().

◆ keylen

int CryptoContext::keylen

Definition at line 44 of file crypto.c.

Referenced by crypto_open2().

◆ iv

uint8_t* CryptoContext::iv

Definition at line 45 of file crypto.c.

Referenced by crypto_open2(), and crypto_seek().

◆ ivlen

int CryptoContext::ivlen

Definition at line 46 of file crypto.c.

Referenced by crypto_open2(), and crypto_seek().

◆ decrypt_key

uint8_t* CryptoContext::decrypt_key

Definition at line 47 of file crypto.c.

Referenced by crypto_open2().

◆ decrypt_keylen

int CryptoContext::decrypt_keylen

Definition at line 48 of file crypto.c.

Referenced by crypto_open2().

◆ decrypt_iv

uint8_t* CryptoContext::decrypt_iv

Definition at line 49 of file crypto.c.

Referenced by crypto_open2(), crypto_read(), and crypto_seek().

◆ decrypt_ivlen

int CryptoContext::decrypt_ivlen

Definition at line 50 of file crypto.c.

Referenced by crypto_open2().

◆ encrypt_key

uint8_t* CryptoContext::encrypt_key

Definition at line 51 of file crypto.c.

Referenced by crypto_open2().

◆ encrypt_keylen

int CryptoContext::encrypt_keylen

Definition at line 52 of file crypto.c.

Referenced by crypto_open2().

◆ encrypt_iv

uint8_t* CryptoContext::encrypt_iv

Definition at line 53 of file crypto.c.

Referenced by crypto_close(), crypto_open2(), and crypto_write().

◆ encrypt_ivlen

int CryptoContext::encrypt_ivlen

Definition at line 54 of file crypto.c.

Referenced by crypto_open2().

◆ aes_decrypt

struct AVAES* CryptoContext::aes_decrypt

Definition at line 55 of file crypto.c.

Referenced by crypto_close(), crypto_open2(), and crypto_read().

◆ aes_encrypt

struct AVAES* CryptoContext::aes_encrypt

Definition at line 56 of file crypto.c.

Referenced by crypto_close(), crypto_open2(), and crypto_write().

◆ write_buf

uint8_t* CryptoContext::write_buf

Definition at line 57 of file crypto.c.

Referenced by crypto_close(), and crypto_write().

◆ write_buf_size

unsigned int CryptoContext::write_buf_size

Definition at line 58 of file crypto.c.

Referenced by crypto_write().

◆ pad

uint8_t CryptoContext::pad[BLOCKSIZE]

Definition at line 59 of file crypto.c.

Referenced by crypto_close(), and crypto_write().

◆ pad_len

int CryptoContext::pad_len

Definition at line 60 of file crypto.c.

Referenced by crypto_close(), and crypto_write().


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