Files
bind9/lib/dns/sec/dnssafe/ahchrand.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

33 lines
1.1 KiB
C

/* Copyright (C) RSA Data Security, Inc. created 1993, 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_AHCHRAND_H
#define DNSSAFE_AHCHRAND_H 1
#include "ahrandom.h"
#include "algchoic.h"
typedef struct AHChooseRandom {
AHRandom random; /* base class */
AlgaChoice algaChoice;
} AHChooseRandom;
AHChooseRandom *AHChooseRandomConstructor2 PROTO_LIST
((AHChooseRandom *, struct B_AlgorithmInfoType *, POINTER));
void AHChooseRandomDestructor PROTO_LIST ((THIS_RANDOM *));
int AHChooseRandomInit PROTO_LIST
((THIS_RANDOM *, B_ALGORITHM_CHOOSER, A_SURRENDER_CTX *));
int AHChooseRandomUpdate PROTO_LIST
((THIS_RANDOM *, unsigned char *, unsigned int, A_SURRENDER_CTX *));
int AHChooseRandomGenerateBytes PROTO_LIST
((THIS_RANDOM *, unsigned char *, unsigned int, A_SURRENDER_CTX *));
#endif /* DNSSAFE_AHCHRAND_H */