summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/EVP_DigestInit.pod
diff options
context:
space:
mode:
authordoug <>2015-09-13 21:09:56 +0000
committerdoug <>2015-09-13 21:09:56 +0000
commit3a95df64bde1592af373f6d58178d0314908dbbd (patch)
tree982a180264ee66bd2bae30aea737ff5770b8509b /src/lib/libcrypto/doc/EVP_DigestInit.pod
parentdcd4d5509d6bf753588a993688daf1132f50a7ed (diff)
downloadopenbsd-3a95df64bde1592af373f6d58178d0314908dbbd.tar.gz
openbsd-3a95df64bde1592af373f6d58178d0314908dbbd.tar.bz2
openbsd-3a95df64bde1592af373f6d58178d0314908dbbd.zip
Remove SHA-0 support.
SHA-0 was withdrawn shortly after publication 20 years ago and replaced with SHA-1. This will require a major crank. ok bcook@, jsing@
Diffstat (limited to 'src/lib/libcrypto/doc/EVP_DigestInit.pod')
-rw-r--r--src/lib/libcrypto/doc/EVP_DigestInit.pod13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/libcrypto/doc/EVP_DigestInit.pod b/src/lib/libcrypto/doc/EVP_DigestInit.pod
index ccb19fc0a7..0d2c2e03b9 100644
--- a/src/lib/libcrypto/doc/EVP_DigestInit.pod
+++ b/src/lib/libcrypto/doc/EVP_DigestInit.pod
@@ -6,7 +6,7 @@ EVP_MD_CTX_init, EVP_MD_CTX_create, EVP_DigestInit_ex, EVP_DigestUpdate,
6EVP_DigestFinal_ex, EVP_MD_CTX_cleanup, EVP_MD_CTX_destroy, EVP_MAX_MD_SIZE, 6EVP_DigestFinal_ex, EVP_MD_CTX_cleanup, EVP_MD_CTX_destroy, EVP_MAX_MD_SIZE,
7EVP_MD_CTX_copy_ex, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, 7EVP_MD_CTX_copy_ex, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type,
8EVP_MD_size, EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size, 8EVP_MD_size, EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size,
9EVP_MD_CTX_block_size, EVP_MD_CTX_type, EVP_md_null, EVP_md2, EVP_md5, EVP_sha, 9EVP_MD_CTX_block_size, EVP_MD_CTX_type, EVP_md_null, EVP_md2, EVP_md5
10EVP_sha1, EVP_sha224, EVP_sha256, EVP_sha384, EVP_sha512, EVP_dss, EVP_dss1, 10EVP_sha1, EVP_sha224, EVP_sha256, EVP_sha384, EVP_sha512, EVP_dss, EVP_dss1,
11EVP_ripemd160, EVP_get_digestbyname, EVP_get_digestbynid, 11EVP_ripemd160, EVP_get_digestbyname, EVP_get_digestbynid,
12EVP_get_digestbyobj - EVP digest routines 12EVP_get_digestbyobj - EVP digest routines
@@ -49,7 +49,6 @@ EVP_get_digestbyobj - EVP digest routines
49 const EVP_MD *EVP_md_null(void); 49 const EVP_MD *EVP_md_null(void);
50 const EVP_MD *EVP_md2(void); 50 const EVP_MD *EVP_md2(void);
51 const EVP_MD *EVP_md5(void); 51 const EVP_MD *EVP_md5(void);
52 const EVP_MD *EVP_sha(void);
53 const EVP_MD *EVP_sha1(void); 52 const EVP_MD *EVP_sha1(void);
54 const EVP_MD *EVP_dss(void); 53 const EVP_MD *EVP_dss(void);
55 const EVP_MD *EVP_dss1(void); 54 const EVP_MD *EVP_dss1(void);
@@ -132,12 +131,12 @@ this will return B<NID_sha1WithRSAEncryption>. Since digests and signature
132algorithms are no longer linked this function is only retained for 131algorithms are no longer linked this function is only retained for
133compatibility reasons. 132compatibility reasons.
134 133
135EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_sha224(), EVP_sha256(), 134EVP_md2(), EVP_md5(), EVP_sha1(), EVP_sha224(), EVP_sha256(), EVP_sha384(),
136EVP_sha384(), EVP_sha512() and EVP_ripemd160() return B<EVP_MD> 135EVP_sha512() and EVP_ripemd160() return B<EVP_MD> structures for the MD2, MD5,
137structures for the MD2, MD5, SHA, SHA1, SHA224, SHA256, SHA384, SHA512 136SHA1, SHA224, SHA256, SHA384, SHA512 and RIPEMD160 digest algorithms
138and RIPEMD160 digest algorithms respectively. 137respectively.
139 138
140EVP_dss() and EVP_dss1() return B<EVP_MD> structures for SHA and SHA1 digest 139EVP_dss() and EVP_dss1() return B<EVP_MD> structures for SHA1 digest
141algorithms but using DSS (DSA) for the signature algorithm. Note: there is 140algorithms but using DSS (DSA) for the signature algorithm. Note: there is
142no need to use these pseudo-digests in OpenSSL 1.0.0 and later, they are 141no need to use these pseudo-digests in OpenSSL 1.0.0 and later, they are
143however retained for compatibility. 142however retained for compatibility.