diff options
author | Bill Cox <waywardgeek@google.com> | 2016-03-09 23:08:31 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-11 10:39:10 -0500 |
commit | 2d0b44126763f989a4cbffbffe9d0c7518158bb7 (patch) | |
tree | 241855d2b5a9b91688f969bf849037f6a0343594 /doc | |
parent | 40f43f8a2e7c75f032672d198604e4fbd6a60fd8 (diff) |
Add blake2 support.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apps/dgst.pod | 2 | ||||
-rw-r--r-- | doc/crypto/EVP_DigestInit.pod | 17 | ||||
-rw-r--r-- | doc/standards.txt | 2 |
3 files changed, 13 insertions, 8 deletions
diff --git a/doc/apps/dgst.pod b/doc/apps/dgst.pod index 1c595dcf74..7b3001e932 100644 --- a/doc/apps/dgst.pod +++ b/doc/apps/dgst.pod @@ -2,7 +2,7 @@ =head1 NAME -dgst, sha, sha1, mdc2, ripemd160, sha224, sha256, sha384, sha512, md4, md5 - message digests +dgst, sha, sha1, mdc2, ripemd160, sha224, sha256, sha384, sha512, md4, md5, blake2b, blake2s - message digests =head1 SYNOPSIS diff --git a/doc/crypto/EVP_DigestInit.pod b/doc/crypto/EVP_DigestInit.pod index db9c04004e..fdc407fa32 100644 --- a/doc/crypto/EVP_DigestInit.pod +++ b/doc/crypto/EVP_DigestInit.pod @@ -8,8 +8,8 @@ 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_get_digestbyname, EVP_get_digestbynid, EVP_get_digestbyobj - -EVP digest routines +EVP_ripemd160, EVP_blake2b, EVP_blake2s, EVP_get_digestbyname, +EVP_get_digestbynid, EVP_get_digestbyobj - EVP digest routines =head1 SYNOPSIS @@ -57,6 +57,8 @@ 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_sha224(void); const EVP_MD *EVP_sha256(void); @@ -134,9 +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() and EVP_ripemd160() return B<EVP_MD> -structures for the MD2, MD5, SHA1, SHA224, SHA256, SHA384, SHA512, MDC2 -and RIPEMD160 digest algorithms respectively. +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_md_null() is a "null" message digest that does nothing: i.e. the hash it returns is of zero length. @@ -159,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() and EVP_ripemd160() return pointers to the -corresponding EVP_MD structures. +EVP_mdc2(), EVP_ripemd160(), EVP_blake2b(), and EVP_blake2s() 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. diff --git a/doc/standards.txt b/doc/standards.txt index d28b167d4a..747286433f 100644 --- a/doc/standards.txt +++ b/doc/standards.txt @@ -163,3 +163,5 @@ STARTTLS documents. 3657 Use of the Camellia Encryption Algorithm in Cryptographic Message Syntax (CMS) + +7693 The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC) |