• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

gc-pbkdf2-sha1.h

Go to the documentation of this file.
00001 /* gc-pbkdf2-sha1.h --- Password-Based Key Derivation Function a'la PKCS#5
00002    Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009, 2010 Free Software
00003    Foundation, Inc.
00004 
00005    This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2, or (at your option)
00008    any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software Foundation,
00017    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
00018 
00019 /* Written by Simon Josefsson. */
00020 
00021 #ifndef __PBKDF2_SHA1__
00022 #define __PBKDF2_SHA1__
00023 
00024 #include <stdlib.h>
00025 
00026 # ifdef __cplusplus
00027 extern "C" {
00028 # endif
00029 
00030 extern int pbkdf2_sha1 (const char *P, size_t Plen,
00031                 const char *S, size_t Slen,
00032                 unsigned int c,
00033                 char *DK, size_t dkLen);
00034 
00035 # ifdef __cplusplus
00036 }
00037 # endif
00038 
00039 
00040 #endif /* __PBKDF2_SHA1__ */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1