diff options
author | doug <> | 2015-09-13 21:09:56 +0000 |
---|---|---|
committer | doug <> | 2015-09-13 21:09:56 +0000 |
commit | 3a95df64bde1592af373f6d58178d0314908dbbd (patch) | |
tree | 982a180264ee66bd2bae30aea737ff5770b8509b /src/lib/libcrypto/doc/EVP_DigestInit.pod | |
parent | dcd4d5509d6bf753588a993688daf1132f50a7ed (diff) | |
download | openbsd-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.pod | 13 |
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, | |||
6 | EVP_DigestFinal_ex, EVP_MD_CTX_cleanup, EVP_MD_CTX_destroy, EVP_MAX_MD_SIZE, | 6 | EVP_DigestFinal_ex, EVP_MD_CTX_cleanup, EVP_MD_CTX_destroy, EVP_MAX_MD_SIZE, |
7 | EVP_MD_CTX_copy_ex, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, | 7 | EVP_MD_CTX_copy_ex, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, |
8 | EVP_MD_size, EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size, | 8 | EVP_MD_size, EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size, |
9 | EVP_MD_CTX_block_size, EVP_MD_CTX_type, EVP_md_null, EVP_md2, EVP_md5, EVP_sha, | 9 | EVP_MD_CTX_block_size, EVP_MD_CTX_type, EVP_md_null, EVP_md2, EVP_md5 |
10 | EVP_sha1, EVP_sha224, EVP_sha256, EVP_sha384, EVP_sha512, EVP_dss, EVP_dss1, | 10 | EVP_sha1, EVP_sha224, EVP_sha256, EVP_sha384, EVP_sha512, EVP_dss, EVP_dss1, |
11 | EVP_ripemd160, EVP_get_digestbyname, EVP_get_digestbynid, | 11 | EVP_ripemd160, EVP_get_digestbyname, EVP_get_digestbynid, |
12 | EVP_get_digestbyobj - EVP digest routines | 12 | EVP_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 | |||
132 | algorithms are no longer linked this function is only retained for | 131 | algorithms are no longer linked this function is only retained for |
133 | compatibility reasons. | 132 | compatibility reasons. |
134 | 133 | ||
135 | EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_sha224(), EVP_sha256(), | 134 | EVP_md2(), EVP_md5(), EVP_sha1(), EVP_sha224(), EVP_sha256(), EVP_sha384(), |
136 | EVP_sha384(), EVP_sha512() and EVP_ripemd160() return B<EVP_MD> | 135 | EVP_sha512() and EVP_ripemd160() return B<EVP_MD> structures for the MD2, MD5, |
137 | structures for the MD2, MD5, SHA, SHA1, SHA224, SHA256, SHA384, SHA512 | 136 | SHA1, SHA224, SHA256, SHA384, SHA512 and RIPEMD160 digest algorithms |
138 | and RIPEMD160 digest algorithms respectively. | 137 | respectively. |
139 | 138 | ||
140 | EVP_dss() and EVP_dss1() return B<EVP_MD> structures for SHA and SHA1 digest | 139 | EVP_dss() and EVP_dss1() return B<EVP_MD> structures for SHA1 digest |
141 | algorithms but using DSS (DSA) for the signature algorithm. Note: there is | 140 | algorithms but using DSS (DSA) for the signature algorithm. Note: there is |
142 | no need to use these pseudo-digests in OpenSSL 1.0.0 and later, they are | 141 | no need to use these pseudo-digests in OpenSSL 1.0.0 and later, they are |
143 | however retained for compatibility. | 142 | however retained for compatibility. |