mariadb/libmysqld
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
..
examples Backport of: 2010-04-13 19:04:45 +04:00
CMakeLists.txt Backport of: 2010-04-13 19:04:45 +04:00
copyright Added all changes from old 4.0 version: 2001-04-11 13:04:03 +02:00
emb_qcache.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
emb_qcache.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
embedded_priv.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
lib_sql.cc Backport of: 2010-04-13 19:04:45 +04:00
libmysqld.c WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
libmysqld.def Fix build error with CMake 2.8 (mysql_stmt_next_result not exported 2009-12-22 21:49:37 +01:00
libmysqld.rc query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00
Makefile.am Backport of: 2010-04-13 19:04:45 +04:00
resource.h query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00