| 
    FFmpeg
    
   | 
 
XTEA 32-bit implementation. More...
#include "avutil.h"#include "common.h"#include "intreadwrite.h"#include "mem.h"#include "xtea.h"Go to the source code of this file.
Macros | |
| #define | DSTEP(SUM, K0, K1) | 
| #define | ESTEP(SUM, K0, K1) | 
Functions | |
| AVXTEA * | av_xtea_alloc (void) | 
| Allocate an AVXTEA context.  More... | |
| void | av_xtea_init (AVXTEA *ctx, const uint8_t key[16]) | 
| Initialize an AVXTEA context.  More... | |
| void | av_xtea_le_init (AVXTEA *ctx, const uint8_t key[16]) | 
| Initialize an AVXTEA context.  More... | |
| static void | xtea_crypt_ecb (AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int decrypt, uint8_t *iv) | 
| static void | xtea_le_crypt_ecb (AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int decrypt, uint8_t *iv) | 
| static void | xtea_crypt (AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt, void(*crypt)(AVXTEA *, uint8_t *, const uint8_t *, int, uint8_t *)) | 
| void | av_xtea_crypt (AVXTEA *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, in big endian format.  More... | |
| void | av_xtea_le_crypt (AVXTEA *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, in little endian format.  More... | |
XTEA 32-bit implementation.
Definition in file xtea.c.
| #define DSTEP | ( | SUM, | |
| K0, | |||
| K1 | |||
| ) | 
Referenced by xtea_crypt_ecb().
| #define ESTEP | ( | SUM, | |
| K0, | |||
| K1 | |||
| ) | 
Referenced by xtea_crypt_ecb().
      
  | 
  static | 
Definition at line 58 of file xtea.c.
Referenced by av_xtea_crypt().
      
  | 
  static | 
Definition at line 178 of file xtea.c.
Referenced by av_xtea_le_crypt().
 1.8.6