ripemd.h (d00ed29992ef21093541e99c485fb1ac52f34498) | ripemd.h (8a24546c85d1bd2cf5c71ec245301ff0b7712bae) |
---|---|
1/* crypto/ripemd/ripemd.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 42 unchanged lines hidden (view full) --- 51 * SUCH DAMAGE. 52 * 53 * The licence and distribution terms for any publically available version or 54 * derivative of this code cannot be changed. i.e. this code cannot simply be 55 * copied and put under another distribution licence 56 * [including the GNU Public Licence.] 57 */ 58 | 1/* crypto/ripemd/ripemd.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 42 unchanged lines hidden (view full) --- 51 * SUCH DAMAGE. 52 * 53 * The licence and distribution terms for any publically available version or 54 * derivative of this code cannot be changed. i.e. this code cannot simply be 55 * copied and put under another distribution licence 56 * [including the GNU Public Licence.] 57 */ 58 |
59/* 60 * $FreeBSD$ 61 */ 62 |
|
59#ifndef HEADER_RIPEMD_H 60#define HEADER_RIPEMD_H 61 62#include <sys/cdefs.h> 63#include <sys/types.h> /* XXX switch to machine/ansi.h and __ types */ 64 65#define RIPEMD160_CBLOCK 64 66#define RIPEMD160_LBLOCK 16 --- 11 unchanged lines hidden (view full) --- 78 79__BEGIN_DECLS 80void RIPEMD160_Init(RIPEMD160_CTX *c); 81void RIPEMD160_Update(RIPEMD160_CTX *c, const unsigned char *data, 82 size_t len); 83void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 84char *RIPEMD160_End(RIPEMD160_CTX *, char *); 85char *RIPEMD160_File(const char *, char *); | 63#ifndef HEADER_RIPEMD_H 64#define HEADER_RIPEMD_H 65 66#include <sys/cdefs.h> 67#include <sys/types.h> /* XXX switch to machine/ansi.h and __ types */ 68 69#define RIPEMD160_CBLOCK 64 70#define RIPEMD160_LBLOCK 16 --- 11 unchanged lines hidden (view full) --- 82 83__BEGIN_DECLS 84void RIPEMD160_Init(RIPEMD160_CTX *c); 85void RIPEMD160_Update(RIPEMD160_CTX *c, const unsigned char *data, 86 size_t len); 87void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 88char *RIPEMD160_End(RIPEMD160_CTX *, char *); 89char *RIPEMD160_File(const char *, char *); |
90char *RIPEMD160_FileChunk(const char *, char *, off_t, off_t); |
|
86char *RIPEMD160_Data(const unsigned char *, unsigned int, char *); 87__END_DECLS 88 89#endif | 91char *RIPEMD160_Data(const unsigned char *, unsigned int, char *); 92__END_DECLS 93 94#endif |