FFmpeg
Macros | Functions
aes_ctr.h File Reference
#include <stdint.h>
#include "attributes.h"

Go to the source code of this file.

Macros

#define  AES_CTR_KEY_SIZE   (16)
 
#define  AES_CTR_IV_SIZE   (8)
 

Functions

struct AVAESCTRav_aes_ctr_alloc (void)
  Allocate an AVAESCTR context. More...
 
int  av_aes_ctr_init (struct AVAESCTR *a, const uint8_t *key)
  Initialize an AVAESCTR context. More...
 
void  av_aes_ctr_free (struct AVAESCTR *a)
  Release an AVAESCTR context. More...
 
void  av_aes_ctr_crypt (struct AVAESCTR *a, uint8_t *dst, const uint8_t *src, int size)
  Process a buffer using a previously initialized context. More...
 
const uint8_t *  av_aes_ctr_get_iv (struct AVAESCTR *a)
  Get the current iv. More...
 
  Generate a random iv. More...
 
void  av_aes_ctr_set_iv (struct AVAESCTR *a, const uint8_t *iv)
  Forcefully change the 8-byte iv. More...
 
void  av_aes_ctr_set_full_iv (struct AVAESCTR *a, const uint8_t *iv)
  Forcefully change the "full" 16-byte iv, including the counter. More...
 
  Increment the top 64 bit of the iv (performed after each frame) More...
 

Generated on Tue Nov 18 2025 19:24:15 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /