summaryrefslogtreecommitdiff
path: root/usr/src/lib/libresolv2/common/dnssafe/algobj.h
blob: a101e8f7193d8af32dd2bfa15a0da45175dab6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 1999 by Sun Microsystems, Inc.
 * All rights reserved.
 */

#pragma ident	"%Z%%M%	%I%	%E% SMI"

/* Copyright (C) RSA Data Security, Inc. created 1990, 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.
 */

#define THE_ALG_WRAP ((AlgorithmWrap *)algorithmObject)

typedef struct AlgorithmWrap {
  B_Algorithm algorithm;
  char *typeTag;
  struct AlgorithmWrap *selfCheck;
} AlgorithmWrap;

int AlgorithmWrapCheck PROTO_LIST ((AlgorithmWrap *));
int RandomAlgorithmCheck PROTO_LIST ((B_ALGORITHM_OBJ));