webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
cipher.c File Reference
#include <openssl/cipher.h>
#include <assert.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/nid.h>
#include "internal.h"

Functions

const EVP_CIPHEREVP_get_cipherbynid (int nid)
 
void EVP_CIPHER_CTX_init (EVP_CIPHER_CTX *ctx)
 
EVP_CIPHER_CTXEVP_CIPHER_CTX_new (void)
 
int EVP_CIPHER_CTX_cleanup (EVP_CIPHER_CTX *c)
 
void EVP_CIPHER_CTX_free (EVP_CIPHER_CTX *ctx)
 
int EVP_CIPHER_CTX_copy (EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in)
 
int EVP_CipherInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *engine, const uint8_t *key, const uint8_t *iv, int enc)
 
int EVP_EncryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const uint8_t *key, const uint8_t *iv)
 
int EVP_DecryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const uint8_t *key, const uint8_t *iv)
 
int EVP_EncryptUpdate (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len)
 
int EVP_EncryptFinal_ex (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
int EVP_DecryptUpdate (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len)
 
int EVP_DecryptFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *out, int *out_len)
 
int EVP_Cipher (EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len)
 
int EVP_CipherUpdate (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len)
 
int EVP_CipherFinal_ex (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
const EVP_CIPHEREVP_CIPHER_CTX_cipher (const EVP_CIPHER_CTX *ctx)
 
int EVP_CIPHER_CTX_nid (const EVP_CIPHER_CTX *ctx)
 
unsigned EVP_CIPHER_CTX_block_size (const EVP_CIPHER_CTX *ctx)
 
unsigned EVP_CIPHER_CTX_key_length (const EVP_CIPHER_CTX *ctx)
 
unsigned EVP_CIPHER_CTX_iv_length (const EVP_CIPHER_CTX *ctx)
 
voidEVP_CIPHER_CTX_get_app_data (const EVP_CIPHER_CTX *ctx)
 
void EVP_CIPHER_CTX_set_app_data (EVP_CIPHER_CTX *ctx, void *data)
 
uint32_t EVP_CIPHER_CTX_flags (const EVP_CIPHER_CTX *ctx)
 
uint32_t EVP_CIPHER_CTX_mode (const EVP_CIPHER_CTX *ctx)
 
int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX *ctx, int command, int arg, void *ptr)
 
int EVP_CIPHER_CTX_set_padding (EVP_CIPHER_CTX *ctx, int pad)
 
int EVP_CIPHER_CTX_set_key_length (EVP_CIPHER_CTX *c, unsigned key_len)
 
int EVP_CIPHER_nid (const EVP_CIPHER *cipher)
 
unsigned EVP_CIPHER_block_size (const EVP_CIPHER *cipher)
 
unsigned EVP_CIPHER_key_length (const EVP_CIPHER *cipher)
 
unsigned EVP_CIPHER_iv_length (const EVP_CIPHER *cipher)
 
uint32_t EVP_CIPHER_flags (const EVP_CIPHER *cipher)
 
uint32_t EVP_CIPHER_mode (const EVP_CIPHER *cipher)
 
int EVP_CipherInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv, int enc)
 
int EVP_EncryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv)
 
int EVP_DecryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv)
 
int EVP_add_cipher_alias (const char *a, const char *b)
 
const EVP_CIPHEREVP_get_cipherbyname (const char *name)
 

Function Documentation

◆ EVP_add_cipher_alias()

int EVP_add_cipher_alias ( const char *  a,
const char *  b 
)

◆ EVP_Cipher()

int EVP_Cipher ( EVP_CIPHER_CTX ctx,
uint8_t out,
const uint8_t in,
size_t  in_len 
)

◆ EVP_CIPHER_block_size()

unsigned EVP_CIPHER_block_size ( const EVP_CIPHER cipher)

◆ EVP_CIPHER_CTX_block_size()

unsigned EVP_CIPHER_CTX_block_size ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_cipher()

const EVP_CIPHER* EVP_CIPHER_CTX_cipher ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_cleanup()

int EVP_CIPHER_CTX_cleanup ( EVP_CIPHER_CTX c)

◆ EVP_CIPHER_CTX_copy()

int EVP_CIPHER_CTX_copy ( EVP_CIPHER_CTX out,
const EVP_CIPHER_CTX in 
)

◆ EVP_CIPHER_CTX_ctrl()

int EVP_CIPHER_CTX_ctrl ( EVP_CIPHER_CTX ctx,
int  command,
int  arg,
void ptr 
)

◆ EVP_CIPHER_CTX_flags()

uint32_t EVP_CIPHER_CTX_flags ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_free()

void EVP_CIPHER_CTX_free ( EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_get_app_data()

void* EVP_CIPHER_CTX_get_app_data ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_init()

void EVP_CIPHER_CTX_init ( EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_iv_length()

unsigned EVP_CIPHER_CTX_iv_length ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_key_length()

unsigned EVP_CIPHER_CTX_key_length ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_mode()

uint32_t EVP_CIPHER_CTX_mode ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_new()

EVP_CIPHER_CTX* EVP_CIPHER_CTX_new ( void  )

◆ EVP_CIPHER_CTX_nid()

int EVP_CIPHER_CTX_nid ( const EVP_CIPHER_CTX ctx)

◆ EVP_CIPHER_CTX_set_app_data()

void EVP_CIPHER_CTX_set_app_data ( EVP_CIPHER_CTX ctx,
void data 
)

◆ EVP_CIPHER_CTX_set_key_length()

int EVP_CIPHER_CTX_set_key_length ( EVP_CIPHER_CTX c,
unsigned  key_len 
)

◆ EVP_CIPHER_CTX_set_padding()

int EVP_CIPHER_CTX_set_padding ( EVP_CIPHER_CTX ctx,
int  pad 
)

◆ EVP_CIPHER_flags()

uint32_t EVP_CIPHER_flags ( const EVP_CIPHER cipher)

◆ EVP_CIPHER_iv_length()

unsigned EVP_CIPHER_iv_length ( const EVP_CIPHER cipher)

◆ EVP_CIPHER_key_length()

unsigned EVP_CIPHER_key_length ( const EVP_CIPHER cipher)

◆ EVP_CIPHER_mode()

uint32_t EVP_CIPHER_mode ( const EVP_CIPHER cipher)

◆ EVP_CIPHER_nid()

int EVP_CIPHER_nid ( const EVP_CIPHER cipher)

◆ EVP_CipherFinal_ex()

int EVP_CipherFinal_ex ( EVP_CIPHER_CTX ctx,
uint8_t out,
int *  out_len 
)

◆ EVP_CipherInit()

int EVP_CipherInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const uint8_t key,
const uint8_t iv,
int  enc 
)

◆ EVP_CipherInit_ex()

int EVP_CipherInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE engine,
const uint8_t key,
const uint8_t iv,
int  enc 
)

◆ EVP_CipherUpdate()

int EVP_CipherUpdate ( EVP_CIPHER_CTX ctx,
uint8_t out,
int *  out_len,
const uint8_t in,
int  in_len 
)

◆ EVP_DecryptFinal_ex()

int EVP_DecryptFinal_ex ( EVP_CIPHER_CTX ctx,
unsigned char *  out,
int *  out_len 
)

◆ EVP_DecryptInit()

int EVP_DecryptInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const uint8_t key,
const uint8_t iv 
)

◆ EVP_DecryptInit_ex()

int EVP_DecryptInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const uint8_t key,
const uint8_t iv 
)

◆ EVP_DecryptUpdate()

int EVP_DecryptUpdate ( EVP_CIPHER_CTX ctx,
uint8_t out,
int *  out_len,
const uint8_t in,
int  in_len 
)

◆ EVP_EncryptFinal_ex()

int EVP_EncryptFinal_ex ( EVP_CIPHER_CTX ctx,
uint8_t out,
int *  out_len 
)

◆ EVP_EncryptInit()

int EVP_EncryptInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const uint8_t key,
const uint8_t iv 
)

◆ EVP_EncryptInit_ex()

int EVP_EncryptInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const uint8_t key,
const uint8_t iv 
)

◆ EVP_EncryptUpdate()

int EVP_EncryptUpdate ( EVP_CIPHER_CTX ctx,
uint8_t out,
int *  out_len,
const uint8_t in,
int  in_len 
)

◆ EVP_get_cipherbyname()

const EVP_CIPHER* EVP_get_cipherbyname ( const char *  name)

◆ EVP_get_cipherbynid()

const EVP_CIPHER* EVP_get_cipherbynid ( int  nid)