1*e71b7053SJung-uk Kim=pod 2*e71b7053SJung-uk Kim 3*e71b7053SJung-uk Kim=head1 NAME 4*e71b7053SJung-uk Kim 5*e71b7053SJung-uk KimEVP_blake2b512, 6*e71b7053SJung-uk KimEVP_blake2s256 7*e71b7053SJung-uk Kim- BLAKE2 For EVP 8*e71b7053SJung-uk Kim 9*e71b7053SJung-uk Kim=head1 SYNOPSIS 10*e71b7053SJung-uk Kim 11*e71b7053SJung-uk Kim #include <openssl/evp.h> 12*e71b7053SJung-uk Kim 13*e71b7053SJung-uk Kim const EVP_MD *EVP_blake2b512(void); 14*e71b7053SJung-uk Kim const EVP_MD *EVP_blake2s256(void); 15*e71b7053SJung-uk Kim 16*e71b7053SJung-uk Kim=head1 DESCRIPTION 17*e71b7053SJung-uk Kim 18*e71b7053SJung-uk KimBLAKE2 is an improved version of BLAKE, which was submitted to the NIST SHA-3 19*e71b7053SJung-uk Kimalgorithm competition. The BLAKE2s and BLAKE2b algorithms are described in 20*e71b7053SJung-uk KimRFC 7693. 21*e71b7053SJung-uk Kim 22*e71b7053SJung-uk Kim=over 4 23*e71b7053SJung-uk Kim 24*e71b7053SJung-uk Kim=item EVP_blake2s256() 25*e71b7053SJung-uk Kim 26*e71b7053SJung-uk KimThe BLAKE2s algorithm that produces a 256-bit output from a given input. 27*e71b7053SJung-uk Kim 28*e71b7053SJung-uk Kim=item EVP_blake2b512() 29*e71b7053SJung-uk Kim 30*e71b7053SJung-uk KimThe BLAKE2b algorithm that produces a 512-bit output from a given input. 31*e71b7053SJung-uk Kim 32*e71b7053SJung-uk Kim=back 33*e71b7053SJung-uk Kim 34*e71b7053SJung-uk Kim=head1 RETURN VALUES 35*e71b7053SJung-uk Kim 36*e71b7053SJung-uk KimThese functions return a B<EVP_MD> structure that contains the 37*e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for 38*e71b7053SJung-uk Kimdetails of the B<EVP_MD> structure. 39*e71b7053SJung-uk Kim 40*e71b7053SJung-uk Kim=head1 CONFORMING TO 41*e71b7053SJung-uk Kim 42*e71b7053SJung-uk KimRFC 7693. 43*e71b7053SJung-uk Kim 44*e71b7053SJung-uk Kim=head1 NOTES 45*e71b7053SJung-uk Kim 46*e71b7053SJung-uk KimWhile the BLAKE2b and BLAKE2s algorithms supports a variable length digest, 47*e71b7053SJung-uk Kimthis implementation outputs a digest of a fixed length (the maximum length 48*e71b7053SJung-uk Kimsupported), which is 512-bits for BLAKE2b and 256-bits for BLAKE2s. 49*e71b7053SJung-uk Kim 50*e71b7053SJung-uk Kim=head1 SEE ALSO 51*e71b7053SJung-uk Kim 52*e71b7053SJung-uk KimL<evp(7)>, 53*e71b7053SJung-uk KimL<EVP_DigestInit(3)> 54*e71b7053SJung-uk Kim 55*e71b7053SJung-uk Kim=head1 COPYRIGHT 56*e71b7053SJung-uk Kim 57*e71b7053SJung-uk KimCopyright 2017 The OpenSSL Project Authors. All Rights Reserved. 58*e71b7053SJung-uk Kim 59*e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License"). You may not use 60*e71b7053SJung-uk Kimthis file except in compliance with the License. You can obtain a copy 61*e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at 62*e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>. 63*e71b7053SJung-uk Kim 64*e71b7053SJung-uk Kim=cut 65*e71b7053SJung-uk Kim 66