FFmpeg
|
#include <string.h>
#include "attributes.h"
#include "intreadwrite.h"
#include "mem.h"
#include "blowfish.h"
Go to the source code of this file.
Macros | |
#define | F(Xl, Xr, P) |
Functions | |
AVBlowfish * | av_blowfish_alloc (void) |
Allocate an AVBlowfish context. More... | |
av_cold void | av_blowfish_init (AVBlowfish *ctx, const uint8_t *key, int key_len) |
Initialize an AVBlowfish context. More... | |
void | av_blowfish_crypt_ecb (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 (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... | |
Variables | |
static const uint32_t | orig_p [AV_BF_ROUNDS+2] |
static const uint32_t | orig_s [4][256] |
#define F | ( | Xl, | |
Xr, | |||
P | |||
) |
|
static |
Definition at line 31 of file blowfish.c.
Referenced by av_blowfish_init().
|
static |
Definition at line 39 of file blowfish.c.
Referenced by av_blowfish_init().