/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1996-2010 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* sum(3) wrapper for solaris -lmd message digest library
*/
typedef void (*Lmd_init_f)(void*);
typedef void (*Lmd_final_f)(unsigned char*, void*);
#define _SUM_LMD_ \
Lmd_init_f initf; \
unsigned int datasize; \
unsigned char total[64]; \
unsigned char data[64];
typedef struct Lmd_s
{
struct
{
} context;
} Lmd_t;
static int
{
return 0;
}
static int
{
return 0;
}
static int
{
register int i;
return 0;
}
static int
{
register unsigned char* d;
register int i;
return 0;
}
static int
{
return 0;
}
#if _lib_MD4Init && _hdr_md4
#include <md4.h>
#define md4_description "RFC1320 MD4 message digest. Cryptographically weak. The block count is not printed."
#define md4_scale 0
typedef struct Md4_s
{
} Md4_t;
static Sum_t*
{
{
}
}
#endif
#if _lib_MD5Init && _hdr_md5
#include <md5.h>
#define md5_description "RFC1321 MD5 message digest. Cryptographically weak. The block count is not printed."
#define md5_scale 0
typedef struct Md5_s
{
} Md5_t;
static Sum_t*
{
{
}
}
#endif
#if _lib_SHA1Init && _hdr_sha1
#include <sha1.h>
#define sha1_description "RFC3174 / FIPS 180-1 SHA-1 secure hash algorithm 1. Cryptographically weak. The block count is not printed."
#define sha1_scale 0
typedef struct Sha1_s
{
} Sha1_t;
static Sum_t*
{
{
}
}
#endif
#if _lib_SHA2Init && _hdr_sha2
#include <sha2.h>
#define sha256_description "FIPS 180-2 SHA256 secure hash algorithm. The block count is not printed."
#define sha256_scale 0
typedef struct Sha256_s
{
} Sha256_t;
static Sum_t*
{
{
}
}
#define sha384_description "FIPS 180-2 SHA384 secure hash algorithm. The block count is not printed."
#define sha384_scale 0
typedef struct Sha384_s
{
} Sha384_t;
static Sum_t*
{
{
}
}
#define sha512_description "FIPS 180-2 SHA512 secure hash algorithm. The block count is not printed."
#define sha512_scale 0
typedef struct Sha512_s
{
} Sha512_t;
static Sum_t*
{
{
}
}
#endif