FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
blowfish.h File Reference
#include <stdint.h>
#include "version.h"

Go to the source code of this file.

Data Structures

struct  AVBlowfish
 

Macros

#define AV_BF_ROUNDS   16
 

Functions

AVBlowfishav_blowfish_alloc (void)
 Allocate an AVBlowfish context. More...
 
void av_blowfish_init (struct AVBlowfish *ctx, const uint8_t *key, int key_len)
 Initialize an AVBlowfish context. More...
 
void av_blowfish_crypt_ecb (struct AVBlowfish *ctx, uint32_t *xl, uint32_t *xr, int decrypt)
 Encrypt or decrypt a buffer using a previously initialized context. More...
 
void av_blowfish_crypt (struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt)
 Encrypt or decrypt a buffer using a previously initialized context. More...