22#ifndef AVUTIL_TWOFISH_H
23#define AVUTIL_TWOFISH_H
65void av_twofish_crypt(
struct AVTWOFISH *ctx, uint8_t *dst,
const uint8_t *src,
int count, uint8_t* iv,
int decrypt);
void av_twofish_crypt(struct AVTWOFISH *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.
const int av_twofish_size
struct AVTWOFISH * av_twofish_alloc(void)
Allocate an AVTWOFISH context To free the struct: av_free(ptr)
int av_twofish_init(struct AVTWOFISH *ctx, const uint8_t *key, int key_bits)
Initialize an AVTWOFISH context.