Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

Classes | Defines | Typedefs | Functions

su_md5.h File Reference

#include "sofia-sip/su_types.h"
Include dependency graph for su_md5.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  su_md5_t

Defines

#define SU_MD5_DIGEST_SIZE   16
#define SU_MD5_H
#define SU_MD5_STR0UPDATE(ctx, s)   su_md5_update(ctx, (s) ? (s) : "", (s) ? strlen(s) + 1 : 1)
#define SU_MD5_STRI0UPDATE(ctx, s)   su_md5_iupdate(ctx, (s) ? (s) : "", (s) ? strlen(s) : 1)
#define SU_MD5_STRIUPDATE(ctx, s)   ((s) ? su_md5_iupdate(ctx, (s), strlen(s)) : (void)0)
#define SU_MD5_STRUPDATE(ctx, s)   ((s) ? su_md5_update(ctx, (s), strlen(s)) : (void)0)

Typedefs

typedef SOFIA_BEGIN_DECLS
struct su_md5_t 
su_md5_t

Functions

SOFIAPUBFUN void su_md5_deinit (su_md5_t *context)
SOFIAPUBFUN void su_md5_digest (su_md5_t const *ctx, uint8_t digest[SU_MD5_DIGEST_SIZE])
SOFIAPUBFUN void su_md5_hexdigest (su_md5_t const *ctx, char digest[2 *SU_MD5_DIGEST_SIZE+1])
SOFIAPUBFUN void su_md5_init (su_md5_t *context)
SOFIAPUBFUN void su_md5_iupdate (su_md5_t *context, void const *buf, usize_t len)
SOFIAPUBFUN void su_md5_str0update (su_md5_t *ctx, char const *s)
SOFIAPUBFUN void su_md5_stri0update (su_md5_t *ctx, char const *s)
SOFIAPUBFUN void su_md5_striupdate (su_md5_t *ctx, char const *s)
SOFIAPUBFUN void su_md5_strupdate (su_md5_t *ctx, char const *s)
SOFIAPUBFUN void su_md5_update (su_md5_t *context, void const *buf, usize_t len)

Detailed Description

MD5 digest interface.

Author:
<Pekka.Pessi@nokia.com>

Definition in file su_md5.h.


Generated by  Doxygen 1.6.0   Back to index