MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
sha1.h
1
#ifndef SHA1_INCLUDED
2
#define SHA1_INCLUDED
3
4
/* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; version 2 of the License.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
20
#define SHA1_HASH_SIZE 20
/* Hash size in bytes */
21
22
C_MODE_START
23
24
void
compute_sha1_hash
(uint8 *digest,
const
char
*
buf
,
int
len);
25
void
compute_sha1_hash_multi
(uint8 *digest,
const
char
*buf1,
int
len1,
26
const
char
*buf2,
int
len2);
27
28
C_MODE_END
29
30
#endif
/* SHA1_INCLUDED */
include
sha1.h
Generated on Sat Nov 9 2013 01:24:46 for MySQL 5.6.14 Source Code Document by
1.8.1.2