Apache Portable Runtime
Data Structures | Defines | Typedefs | Functions
MD4 Library
Apache Portability Runtime library

Data Structures

struct  apr_md4_ctx_t

Defines

#define APR_MD4_DIGESTSIZE   16

Typedefs

typedef struct apr_md4_ctx_t apr_md4_ctx_t

Functions

apr_status_t apr_md4_init (apr_md4_ctx_t *context)
apr_status_t apr_md4_set_xlate (apr_md4_ctx_t *context, apr_xlate_t *xlate)
apr_status_t apr_md4_update (apr_md4_ctx_t *context, const unsigned char *input, apr_size_t inputLen)
apr_status_t apr_md4_final (unsigned char digest[APR_MD4_DIGESTSIZE], apr_md4_ctx_t *context)
apr_status_t apr_md4 (unsigned char digest[APR_MD4_DIGESTSIZE], const unsigned char *input, apr_size_t inputLen)

Define Documentation

#define APR_MD4_DIGESTSIZE   16

The digestsize for MD4


Typedef Documentation

typedef struct apr_md4_ctx_t apr_md4_ctx_t
See also:
apr_md4_ctx_t

Function Documentation

apr_status_t apr_md4 ( unsigned char  digest[APR_MD4_DIGESTSIZE],
const unsigned char *  input,
apr_size_t  inputLen 
)

MD4 digest computation

Parameters:
digestThe MD4 digest
inputmessage block to use
inputLenThe length of the message block
apr_status_t apr_md4_final ( unsigned char  digest[APR_MD4_DIGESTSIZE],
apr_md4_ctx_t context 
)

MD4 finalization. Ends an MD4 message-digest operation, writing the message digest and zeroing the context

Parameters:
digestThe final MD4 digest
contextThe MD4 content we are finalizing.
apr_status_t apr_md4_init ( apr_md4_ctx_t context)

MD4 Initialize. Begins an MD4 operation, writing a new context.

Parameters:
contextThe MD4 context to initialize.
apr_status_t apr_md4_set_xlate ( apr_md4_ctx_t context,
apr_xlate_t xlate 
)

MDr4 translation setup. Provides the APR translation handle to be used for translating the content before calculating the digest.

Parameters:
contextThe MD4 content to set the translation for.
xlateThe translation handle to use for this MD4 context
apr_status_t apr_md4_update ( apr_md4_ctx_t context,
const unsigned char *  input,
apr_size_t  inputLen 
)

MD4 block update operation. Continue an MD4 message-digest operation, processing another message block, and updating the context.

Parameters:
contextThe MD4 content to update.
inputnext message block to update
inputLenThe length of the next message block
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines