cipher.c File Reference

Go to the source code of this file.

Typedefs

typedef int(* EVP_Update_t )(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
typedef int(* EVP_Final_ex_t )(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
typedef struct codec_cipher_s codec_cipher_t

Enumerations

enum  { CODEC_CIPHER_MAX_INPUT = 4096 }

Functions

int codec_cipher_create (int op, const EVP_CIPHER *cipher, unsigned char *key, unsigned char *iv, codec_t **pcc)

Typedef Documentation

typedef struct codec_cipher_s codec_cipher_t

Definition at line 35 of file cipher.c.

typedef int(* EVP_Final_ex_t)(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)

Definition at line 21 of file cipher.c.

typedef int(* EVP_Update_t)(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)

Definition at line 19 of file cipher.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
CODEC_CIPHER_MAX_INPUT 

Definition at line 17 of file cipher.c.