root/ext/standard/crypt_freesec.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* $Id$ */
   2 
   3 #ifndef _CRYPT_FREESEC_H
   4 #define _CRYPT_FREESEC_H
   5 
   6 #if PHP_WIN32
   7 # ifndef inline
   8 # define inline __inline
   9 # endif
  10 #endif
  11 
  12 #include "php_stdint.h"
  13 
  14 #define MD5_HASH_MAX_LEN 120
  15 
  16 struct php_crypt_extended_data {
  17         int initialized;
  18         uint32_t saltbits;
  19         uint32_t old_salt;
  20         uint32_t en_keysl[16], en_keysr[16];
  21         uint32_t de_keysl[16], de_keysr[16];
  22         uint32_t old_rawkey0, old_rawkey1;
  23         char output[21];
  24 };
  25 
  26 /*
  27  * _crypt_extended_init() must be called explicitly before first use of
  28  * _crypt_extended_r().
  29  */
  30 
  31 void _crypt_extended_init(void);
  32 
  33 char *_crypt_extended_r(const char *key, const char *setting,
  34         struct php_crypt_extended_data *data);
  35 
  36 #endif

/* [<][>][^][v][top][bottom][index][help] */