/*
*/
/* hmac-md5.h -- HMAC_MD5 functions
*/
#ifndef HMAC_MD5_H
#ifdef _SUN_SDK_
#ifndef SASLPLUG_H
#include <sasl/saslplug.h>
#endif
#else
/* intermediate MD5 context */
typedef struct HMAC_MD5_CTX_s {
} HMAC_MD5_CTX;
/* intermediate HMAC state
* values stored in network byte order (Big Endian)
*/
typedef struct HMAC_MD5_STATE_s {
#endif /* _SUN_SDK */
/* One step hmac computation
*
* digest may be same as text or key
*/
unsigned char digest[HMAC_MD5_SIZE]);
/* create context from key
*/
/* precalculate intermediate state from key
*/
/* initialize context from intermediate state
*/
#define _sasl_hmac_md5_update(hmac, text, text_len) _sasl_MD5Update(&(hmac)->ictx, (text), (text_len))
/* finish hmac from intermediate result. Intermediate result is zeroed.
*/
HMAC_MD5_CTX *hmac);
#endif /* HMAC_MD5_H */