OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
e_rc4_hmac_md5.c File Reference
#include <openssl/opensslconf.h>
#include <stdio.h>
#include <string.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <openssl/rc4.h>
#include <openssl/md5.h>

Go to the source code of this file.

Classes

struct  EVP_RC4_HMAC_MD5
 

Macros

#define EVP_CIPH_FLAG_AEAD_CIPHER   0x200000
 
#define EVP_CTRL_AEAD_TLS1_AAD   0x16
 
#define EVP_CTRL_AEAD_SET_MAC_KEY   0x17
 
#define EVP_RC4_KEY_SIZE   16
 
#define NO_PAYLOAD_LENGTH   ((size_t)-1)
 
#define data(ctx)   ((EVP_RC4_HMAC_MD5 *)(ctx)->cipher_data)
 
#define rc4_off   0
 
#define md5_off   0
 

Functions

void rc4_md5_enc (RC4_KEY *key, const void *in0, void *out, MD5_CTX *ctx, const void *inp, size_t blocks)
 
const EVP_CIPHEREVP_rc4_hmac_md5 (void)
 

Macro Definition Documentation

#define data (   ctx)    ((EVP_RC4_HMAC_MD5 *)(ctx)->cipher_data)

Definition at line 83 of file e_rc4_hmac_md5.c.

#define EVP_CIPH_FLAG_AEAD_CIPHER   0x200000

Definition at line 63 of file e_rc4_hmac_md5.c.

#define EVP_CTRL_AEAD_SET_MAC_KEY   0x17

Definition at line 65 of file e_rc4_hmac_md5.c.

#define EVP_CTRL_AEAD_TLS1_AAD   0x16

Definition at line 64 of file e_rc4_hmac_md5.c.

#define EVP_RC4_KEY_SIZE   16

Definition at line 69 of file e_rc4_hmac_md5.c.

#define md5_off   0

Definition at line 113 of file e_rc4_hmac_md5.c.

#define NO_PAYLOAD_LENGTH   ((size_t)-1)

Definition at line 78 of file e_rc4_hmac_md5.c.

#define rc4_off   0

Definition at line 112 of file e_rc4_hmac_md5.c.

Function Documentation

const EVP_CIPHER* EVP_rc4_hmac_md5 ( void  )

Definition at line 294 of file e_rc4_hmac_md5.c.

void rc4_md5_enc ( RC4_KEY key,
const void in0,
void out,
MD5_CTX ctx,
const void inp,
size_t  blocks 
)