OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions
bio_enc.c File Reference
#include <stdio.h>
#include <errno.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
#include <openssl/evp.h>

Go to the source code of this file.

Classes

struct  enc_struct
 

Macros

#define ENC_BLOCK_SIZE   (1024*4)
 
#define BUF_OFFSET   (EVP_MAX_BLOCK_LENGTH*2)
 

Typedefs

typedef struct enc_struct BIO_ENC_CTX
 

Functions

BIO_METHODBIO_f_cipher (void)
 
void BIO_set_cipher (BIO *b, const EVP_CIPHER *c, const unsigned char *k, const unsigned char *i, int e)
 

Macro Definition Documentation

#define BUF_OFFSET   (EVP_MAX_BLOCK_LENGTH*2)

Definition at line 74 of file bio_enc.c.

#define ENC_BLOCK_SIZE   (1024*4)

Definition at line 73 of file bio_enc.c.

Typedef Documentation

typedef struct enc_struct BIO_ENC_CTX

Function Documentation

BIO_METHOD* BIO_f_cipher ( void  )

Definition at line 103 of file bio_enc.c.

void BIO_set_cipher ( BIO b,
const EVP_CIPHER c,
const unsigned char *  k,
const unsigned char *  i,
int  e 
)

Definition at line 410 of file bio_enc.c.