mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
update md docs
This commit is contained in:
parent
05cfe06607
commit
8a4af56fc6
@ -12,10 +12,10 @@ MD4_Final, MD5_Init, MD5_Update, MD5_Final - MD2, MD4, and MD5 hash functions
|
|||||||
unsigned char *MD2(const unsigned char *d, unsigned long n,
|
unsigned char *MD2(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md);
|
unsigned char *md);
|
||||||
|
|
||||||
void MD2_Init(MD2_CTX *c);
|
int MD2_Init(MD2_CTX *c);
|
||||||
void MD2_Update(MD2_CTX *c, const unsigned char *data,
|
int MD2_Update(MD2_CTX *c, const unsigned char *data,
|
||||||
unsigned long len);
|
unsigned long len);
|
||||||
void MD2_Final(unsigned char *md, MD2_CTX *c);
|
int MD2_Final(unsigned char *md, MD2_CTX *c);
|
||||||
|
|
||||||
|
|
||||||
#include <openssl/md4.h>
|
#include <openssl/md4.h>
|
||||||
@ -23,10 +23,10 @@ MD4_Final, MD5_Init, MD5_Update, MD5_Final - MD2, MD4, and MD5 hash functions
|
|||||||
unsigned char *MD4(const unsigned char *d, unsigned long n,
|
unsigned char *MD4(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md);
|
unsigned char *md);
|
||||||
|
|
||||||
void MD4_Init(MD4_CTX *c);
|
int MD4_Init(MD4_CTX *c);
|
||||||
void MD4_Update(MD4_CTX *c, const void *data,
|
int MD4_Update(MD4_CTX *c, const void *data,
|
||||||
unsigned long len);
|
unsigned long len);
|
||||||
void MD4_Final(unsigned char *md, MD4_CTX *c);
|
int MD4_Final(unsigned char *md, MD4_CTX *c);
|
||||||
|
|
||||||
|
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
@ -34,10 +34,10 @@ MD4_Final, MD5_Init, MD5_Update, MD5_Final - MD2, MD4, and MD5 hash functions
|
|||||||
unsigned char *MD5(const unsigned char *d, unsigned long n,
|
unsigned char *MD5(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md);
|
unsigned char *md);
|
||||||
|
|
||||||
void MD5_Init(MD5_CTX *c);
|
int MD5_Init(MD5_CTX *c);
|
||||||
void MD5_Update(MD5_CTX *c, const void *data,
|
int MD5_Update(MD5_CTX *c, const void *data,
|
||||||
unsigned long len);
|
unsigned long len);
|
||||||
void MD5_Final(unsigned char *md, MD5_CTX *c);
|
int MD5_Final(unsigned char *md, MD5_CTX *c);
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@ -78,8 +78,8 @@ preferred.
|
|||||||
MD2(), MD4(), and MD5() return pointers to the hash value.
|
MD2(), MD4(), and MD5() return pointers to the hash value.
|
||||||
|
|
||||||
MD2_Init(), MD2_Update(), MD2_Final(), MD4_Init(), MD4_Update(),
|
MD2_Init(), MD2_Update(), MD2_Final(), MD4_Init(), MD4_Update(),
|
||||||
MD4_Final(), MD5_Init(), MD5_Update(), and MD5_Final() do not return
|
MD4_Final(), MD5_Init(), MD5_Update(), and MD5_Final() return 1 for
|
||||||
values.
|
success, 0 otherwise.
|
||||||
|
|
||||||
=head1 CONFORMING TO
|
=head1 CONFORMING TO
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@ MDC2, MDC2_Init, MDC2_Update, MDC2_Final - MDC2 hash function
|
|||||||
unsigned char *MDC2(const unsigned char *d, unsigned long n,
|
unsigned char *MDC2(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md);
|
unsigned char *md);
|
||||||
|
|
||||||
void MDC2_Init(MDC2_CTX *c);
|
int MDC2_Init(MDC2_CTX *c);
|
||||||
void MDC2_Update(MDC2_CTX *c, const unsigned char *data,
|
int MDC2_Update(MDC2_CTX *c, const unsigned char *data,
|
||||||
unsigned long len);
|
unsigned long len);
|
||||||
void MDC2_Final(unsigned char *md, MDC2_CTX *c);
|
int MDC2_Final(unsigned char *md, MDC2_CTX *c);
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ hash functions directly.
|
|||||||
|
|
||||||
MDC2() returns a pointer to the hash value.
|
MDC2() returns a pointer to the hash value.
|
||||||
|
|
||||||
MDC2_Init(), MDC2_Update() and MDC2_Final() do not return values.
|
MDC2_Init(), MDC2_Update() and MDC2_Final() return 1 for success, 0 otherwise.
|
||||||
|
|
||||||
=head1 CONFORMING TO
|
=head1 CONFORMING TO
|
||||||
|
|
||||||
|
@ -12,10 +12,10 @@ RIPEMD-160 hash function
|
|||||||
unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
|
unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md);
|
unsigned char *md);
|
||||||
|
|
||||||
void RIPEMD160_Init(RIPEMD160_CTX *c);
|
int RIPEMD160_Init(RIPEMD160_CTX *c);
|
||||||
void RIPEMD160_Update(RIPEMD_CTX *c, const void *data,
|
int RIPEMD160_Update(RIPEMD_CTX *c, const void *data,
|
||||||
unsigned long len);
|
unsigned long len);
|
||||||
void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
|
int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@ -47,8 +47,8 @@ hash functions directly.
|
|||||||
|
|
||||||
RIPEMD160() returns a pointer to the hash value.
|
RIPEMD160() returns a pointer to the hash value.
|
||||||
|
|
||||||
RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final() do not
|
RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final() return 1 for
|
||||||
return values.
|
success, 0 otherwise.
|
||||||
|
|
||||||
=head1 CONFORMING TO
|
=head1 CONFORMING TO
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@ SHA1, SHA1_Init, SHA1_Update, SHA1_Final - Secure Hash Algorithm
|
|||||||
unsigned char *SHA1(const unsigned char *d, unsigned long n,
|
unsigned char *SHA1(const unsigned char *d, unsigned long n,
|
||||||
unsigned char *md);
|
unsigned char *md);
|
||||||
|
|
||||||
void SHA1_Init(SHA_CTX *c);
|
int SHA1_Init(SHA_CTX *c);
|
||||||
void SHA1_Update(SHA_CTX *c, const void *data,
|
int SHA1_Update(SHA_CTX *c, const void *data,
|
||||||
unsigned long len);
|
unsigned long len);
|
||||||
void SHA1_Final(unsigned char *md, SHA_CTX *c);
|
int SHA1_Final(unsigned char *md, SHA_CTX *c);
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ used only when backward compatibility is required.
|
|||||||
|
|
||||||
SHA1() returns a pointer to the hash value.
|
SHA1() returns a pointer to the hash value.
|
||||||
|
|
||||||
SHA1_Init(), SHA1_Update() and SHA1_Final() do not return values.
|
SHA1_Init(), SHA1_Update() and SHA1_Final() return 1 for success, 0 otherwise.
|
||||||
|
|
||||||
=head1 CONFORMING TO
|
=head1 CONFORMING TO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user