diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-03-10 00:49:55 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-11 16:39:10 +0100 |
commit | 208527a75dd9584e2715c0eebcfad8c730d0dfae (patch) | |
tree | a5f56cd5debd4bb9fbe29f0a1f0df8075b236753 /doc | |
parent | Add blake2 support. (diff) | |
download | openssl-208527a75dd9584e2715c0eebcfad8c730d0dfae.tar.xz openssl-208527a75dd9584e2715c0eebcfad8c730d0dfae.zip |
Review comments
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/EVP_DigestInit.pod | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/crypto/EVP_DigestInit.pod b/doc/crypto/EVP_DigestInit.pod index fdc407fa32..94c4d19d29 100644 --- a/doc/crypto/EVP_DigestInit.pod +++ b/doc/crypto/EVP_DigestInit.pod @@ -8,7 +8,7 @@ EVP_DigestInit, EVP_DigestFinal, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, EVP_MD_size, EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size, EVP_MD_CTX_block_size, EVP_MD_CTX_type, EVP_md_null, EVP_md2, EVP_md5, EVP_sha1, EVP_sha224, EVP_sha256, EVP_sha384, EVP_sha512, EVP_mdc2, -EVP_ripemd160, EVP_blake2b, EVP_blake2s, EVP_get_digestbyname, +EVP_ripemd160, EVP_blake2b_512, EVP_blake2s_256, EVP_get_digestbyname, EVP_get_digestbynid, EVP_get_digestbyobj - EVP digest routines =head1 SYNOPSIS @@ -57,8 +57,8 @@ EVP_get_digestbynid, EVP_get_digestbyobj - EVP digest routines const EVP_MD *EVP_sha1(void); const EVP_MD *EVP_mdc2(void); const EVP_MD *EVP_ripemd160(void); - const EVP_MD *EVP_blake2b(void); - const EVP_MD *EVP_blake2s(void); + const EVP_MD *EVP_blake2b_512(void); + const EVP_MD *EVP_blake2s_256(void); const EVP_MD *EVP_sha224(void); const EVP_MD *EVP_sha256(void); @@ -136,10 +136,10 @@ are no longer linked this function is only retained for compatibility reasons. EVP_md2(), EVP_md5(), EVP_sha1(), EVP_sha224(), EVP_sha256(), -EVP_sha384(), EVP_sha512(), EVP_mdc2(), EVP_ripemd160(), EVP_blake2b, and -EVP_blake2s return B<EVP_MD> structures for the MD2, MD5, SHA1, SHA224, SHA256, -SHA384, SHA512, MDC2, RIPEMD160, BLAKE2b, and BLAKE2s digest algorithms -respectively. +EVP_sha384(), EVP_sha512(), EVP_mdc2(), EVP_ripemd160(), EVP_blake2b_512(), and +EVP_blake2s_256() return B<EVP_MD> structures for the MD2, MD5, SHA1, SHA224, +SHA256, SHA384, SHA512, MDC2, RIPEMD160, BLAKE2b-512, and BLAKE2s-256 digest +algorithms respectively. EVP_md_null() is a "null" message digest that does nothing: i.e. the hash it returns is of zero length. @@ -162,8 +162,8 @@ EVP_MD_size(), EVP_MD_block_size(), EVP_MD_CTX_size() and EVP_MD_CTX_block_size() return the digest or block size in bytes. EVP_md_null(), EVP_md2(), EVP_md5(), EVP_sha1(), -EVP_mdc2(), EVP_ripemd160(), EVP_blake2b(), and EVP_blake2s() return pointers -to the corresponding EVP_MD structures. +EVP_mdc2(), EVP_ripemd160(), EVP_blake2b_512(), and EVP_blake2s_256() return +pointers to the corresponding EVP_MD structures. EVP_get_digestbyname(), EVP_get_digestbynid() and EVP_get_digestbyobj() return either an B<EVP_MD> structure or NULL if an error occurs. |