123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef AVUTIL_RC4_H
- #define AVUTIL_RC4_H
- #include <stdint.h>
- typedef struct AVRC4 {
- uint8_t state[256];
- int x, y;
- } AVRC4;
- AVRC4 *av_rc4_alloc(void);
- int av_rc4_init(struct AVRC4 *d, const uint8_t *key, int key_bits, int decrypt);
- void av_rc4_crypt(struct AVRC4 *d, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt);
- #endif
|