mariadb/client
Konstantin Osipov 53fecff1ef Backport of:
ChangeSet@1.2703, 2007-12-07 09:35:28-05:00, cmiller@zippy.cornsilk.net +40 -0
Bug#13174: SHA2 function
Patch contributed from Bill Karwin, paper unnumbered CLA in Seattle

Implement SHA2 functions.

Chad added code to make it work with YaSSL.  Also, he removed the 
(probable) bug of embedded server never using SSL-dependent 
functions.  (libmysqld/Makefile.am didn't read ANY autoconf defs.)

Function specification:
  SHA2( string cleartext, integer hash_length ) 
    -> string hash, or NULL
where hash_length is one of 224, 256, 384, or 512.  If either is 
NULL or a length is unsupported, then the result is NULL.  The 
resulting string is always the length of the hash_length parameter
or is NULL.

Include the canonical hash examples from the NIST in the test
results.
---
Polish and address concerns of reviewers.
2010-04-13 19:04:45 +04:00
..
client_priv.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
CMakeLists.txt Replace ADD_EXECUTABLE with MYSQL_ADD_EXECUTABLE for binaries that are installed. 2009-12-17 14:41:50 +01:00
completion_hash.cc
completion_hash.h
echo.c
get_password.c
Makefile.am WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
my_readline.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
mysql.cc Backport of: 2010-04-13 19:04:45 +04:00
mysql_upgrade.c Manual merge of mysql-trunk into mysql-trunk-merge. 2010-03-24 18:03:44 +03:00
mysqladmin.cc A follow-up on WL#5154 and WL#5182: remove forgotten options. 2010-03-03 22:22:02 +03:00
mysqlbinlog.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
mysqlcheck.c Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
mysqldump.c Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
mysqlimport.c Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
mysqlshow.c Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
mysqlslap.c Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
mysqltest.cc Backport of: 2010-04-13 19:04:45 +04:00
readline.cc This is the downport of 2009-09-11 22:26:35 +02:00
sql_string.cc Backport of WL #2934: Make/find library for doing float/double 2009-12-22 19:23:13 +03:00
sql_string.h Bug #33544 UDF_INIT member decimals initialized wrong with 2009-11-11 21:19:41 +01:00