Files
bind9/lib/dns/sec/dnssafe/md5rand.h
David Lawrence 4be63b1fd8 144. [cleanup] libdns header files too numerous to name were made
to conform to the same style for multiple inclusion
                        protection.
2000-04-29 02:02:38 +00:00

38 lines
1017 B
C

/* Copyright (C) RSA Data Security, Inc. created 1994, 1996. This is an
unpublished work protected as such under copyright law. This work
contains proprietary, confidential, and trade secret information of
RSA Data Security, Inc. Use, disclosure or reproduction without the
express written authorization of RSA Data Security, Inc. is
prohibited.
*/
#ifndef DNSSAFE_MD5RAND_H
#define DNSSAFE_MD5RAND_H 1
#include "digrand.h"
#include "md5.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct A_MD5_RANDOM_CTX {
A_DigestRandom digestRandom; /* "base class" */
unsigned char state[3 * A_MD5_DIGEST_LEN];
A_MD5_CTX md5Context;
} A_MD5_RANDOM_CTX;
void A_MD5RandomInit PROTO_LIST ((A_MD5_RANDOM_CTX *));
void A_MD5RandomUpdate PROTO_LIST
((A_MD5_RANDOM_CTX *, unsigned char *, unsigned int));
void A_MD5RandomGenerateBytes PROTO_LIST
((A_MD5_RANDOM_CTX *, unsigned char *, unsigned int));
#ifdef __cplusplus
}
#endif
#endif /* DNSSAFE_MD5RAND_H */